Step 1: Elastic collision between A and B.
Let initial velocity of A be $u_A = 9$ m/s, and initial velocity of B be $u_B = 0$.
Masses are $m_A = m$ and $m_B = 2m$.
Let final velocities be $v_A$ and $v_B$.
By conservation of momentum: $m_A u_A + m_B u_B = m_A v_A + m_B v_B$
$m(9) + 2m(0) = m v_A + 2m v_B \implies 9 = v_A + 2v_B$ (Eq. 1)
For an elastic collision, the coefficient of restitution e = 1.
$e = \frac{v_B - v_A}{u_A - u_B} \implies 1 = \frac{v_B - v_A}{9 - 0} \implies 9 = v_B - v_A$ (Eq. 2)
Adding (Eq. 1) and (Eq. 2):
$(v_A + 2v_B) + (v_B - v_A) = 9 + 9$
$3v_B = 18 \implies v_B = 6$ m/s.
So, after the first collision, B moves with a speed of 6 m/s.
Step 2: Completely inelastic collision between B and C.
Now B (mass 2m, velocity 6 m/s) collides with C (mass 2m, velocity 0).
In a completely inelastic collision, the objects stick together. Let their final common velocity be $v_f$.
By conservation of momentum: $m_B v_B + m_C u_C = (m_B + m_C)v_f$
$(2m)(6) + (2m)(0) = (2m + 2m)v_f$
$12m = (4m)v_f$
$v_f = \frac{12m}{4m} = 3$ m/s.
The final speed of the combined mass (B+C) is 3 m/s. Therefore, the final speed of C is 3 m/s.