Since the cars are moving in the same direction, the velocity of a body A, Va,relative to another body B, Vb is given by V = Va - Vb