Answer:
Momentum is the product of mass of a body and its velocity.
Initially before collision and after collision, velocity changes but mass is a constant factor. Therefore, only one term changes by a constant change hence momentum gained initially, and that gained finally is equal