Three uniform small spheres $A$, $B$ and $C$, of equal radii and masses $3m$, $m$ and $m$, are at rest in a straight line on a smooth horizontal surface, with $B$ between $A$ and $C$. The coefficient of restitution between each pair is $e$. Sphere $A$ is projected towards $B$ with speed $u$.
(i) Find the speeds of $A$, $B$ and $C$ after the first two collisions, in terms of $u$ and $e$. [6]
(ii) Given that $A$ and $C$ then move with equal speeds, find $e$. [3]