The law of conservation of momentum states that the momentum of two objects before collision is equal to the momentum of both objects after the collision.
The momentum of a single object is its mass times its velocity (p = m * v). Its kinetic energy is half the mass times the square of the velocity (K = 1⁄2 m * v2).