A 1kg mass is attached to a spring of force constant 600N/m and rests on a smooth horizontal surface with other end of the spring tied to a wall as shown in the figure. A second mass of 0.5kg slides on the surface and hits the first at 3m/s. If the masses make a perfectly inelastic collision, then find the amplitude of oscillation of the combined mass and time period of oscillation. 