Physics Collisions Level: Misc Level

A block of mass m1=1.60 kg, initially moving to the right with a speed of 4.00 m/s on a frictionless horizontal surface, collides with a spring attached to a second block of mass m2=2.1 kg,moving to the left with a speed of 2.50 m/s. The spring has a spring constant of 600 N/m.a) At the instant when m1 is moving to the right with speed 3.00 m/s, determine the speed of m2. b) Determine the compression of the spring at the same moment listed in (a) above.