Given that,
Mass of two bumper cars, m₁ = m₂ = 125 kg
Initial speed of car X is, u₁ = 10 m/s
Initial speed of car Z is, u₂ = -12 m/s
Final speed of car Z, v₂ = 10 m/s
We need to find the final speed of car X after the collision. Let v₁ is its final speed. Using the conservation of momentum to find it as follows :

v₁ is the final speed of car X.

So, car X will move with a velocity of -12 m/s.