Derive the mathematical formula of conservation of momentum

Derive the mathematical formula of conservation of momentum.

Answer: