Consider a train moving through a station at speed v=vex. A person in the train throws a ball forward and observes it moving at speed uTx in the +x direction. How fast does an observer standing at the station observe the ball to be moving?
On the train, in the time ΔtT the ball moves ΔxT, so
This is the relativistic velocity addition formula. We see that the sum of velocities is scaled such that it never exceeds c so long as neither velocity individually exceeds c.
Importantly, this is only the formula if both velocities are in the same direction
Perpendicular velocities
If the person in the train instead throws the ball up with speed uTy in the y direction, then we have