The system shown in figure is released from rest with mass 2 kg in contact with the ground. Pulley and spring are massless, and friction is absent everywhere. The speed of 5 kg block when 2 kg block leaves the contact with the ground is (force constant of spring k=40 N/m and g=10m/s^2