The situation is illustrated in the figure below: Lets consider what two observers, one on the train and one on the ground would measure.
(The situation; is illustrated; L:in the figure below)
The situation
is illustrated
L:in the figure below