In Fig, block 1 (mass 2.0 kg) is moving rightward at 10 m/s and block 2 (mass 5.0 kg) is moving rightward at 3.0 m/s. The surface is frictionless, and a spring with a spring constant of 571 N/m is fixed to block 2. When the blocks collide, the compression of the spring is maximum at the instant the blocks have the same velocity of 5 m/s. Find the maximum compression.