A uniform rod of mass M and length 2 m lies on a smooth horizontal table. A particle of mass m moving on the table with a velocity u strikes the rod perpendicularly at an end and stops there. Find the distance travelled by the center of the rod (in metres) by the time it turns through a right angle. Given M=4m.