This should be an easy answer because it's the same moment between both frames of reference. For the person on the ground, the back end of the train is inside the tunnel because the train is length-contracted. For the person on the train, the tunnel is length-contracted and the back end is outside of the tunnel. So what is wrong with this answer? Maybe you can elaborate.