Three objects A ,B and C are kept in a straight line on a smooth horizontal surface. These have masses m, 2m and 3m , respectively . The head – on elastic collision takes place between A and B and then B makes completely inelastic collision with C. All motions occur on the same straight line. The final speed of C will be