Two identical smooth spheres $A$ and $B$ move directly towards each other on a smooth horizontal surface with speeds $u$ and $ku$ respectively. After they collide, $B$ is at rest. The coefficient of restitution is $e$.
(i) Show that $e=\dfrac{k-1}{k+1}$. [3]
(ii) Given that $60\%$ of the initial kinetic energy is lost, find $k$ and $e$. [6]