In an elastic collision, both momentum and kinetic energy are conserved. The objects bounce apart with no energy lost to heat, sound, or deformation. Colliding steel balls and interactions between atoms are close to perfectly elastic. With two conservation equations, you can solve for both final velocities.