by the formula

.

[66] The general expression giving the composition of velocities in all three cases can be understood as follows: If a ball is moving through a train with velocity

as measured in the train, and if the train is moving with a speed

in the same direction along the embankment, then the speed of the ball with respect to the embankment is given by

, where