A ball of mass $m_1 = 2$ kg moves at $v_1 = 3$ m/s and collides head-on with a stationary ball of mass $m_2 = 1$ kg. The collision is perfectly inelastic. Find the speed of the balls after the collision.
In a perfectly inelastic collision the bodies stick together and move as one. The momentum of the system is the same before and after the collision:
$$m_1 v_1 = (m_1 + m_2) v$$
$$v = \frac{m_1 v_1}{m_1 + m_2} = \frac{2 \cdot 3}{2 + 1} = \frac{6}{3} = 2 \text{ m/s}$$
$v = 2$ m/s