Answer:
Before the collision, one car had velocity v and the other zero, so the centre of mass of the system was also v/2 before the collision. The total momentum is the total mass times the velocity of the centre of mass, so the total momentum, before and after, is (2m)(v/2) = mv.
Step-by-step explanation: