Objects have the same velocity only if they are moving at the same speed and in the same direction.
Objects moving at different speeds, in different directions, or both have different velocities.
When two bodies are moving in opposite directions, relative velocity between them is equal to sum of the velocity of bodies.
But if the bodies are moving in same direction their relative velocity is equal to difference in velocity of the bodies.
Relative velocity is defined as the velocity of an object B in the rest frame of another object A. 2) A motorcycle travelling on the highway at a velocity of 120 km/h passes a car travelling at a velocity of 90 km/h.
Learn more about relative velocity here: