Three objects A, B and C are kept in a straight line on a friction less horizontal surface. There have masses m,2m and m respectively. The object A moves towards B with a speed 9m/s and makes a perfectly inelastic collision with C. All motion occur on same straight line. The final speed of the object C is: