An inclined plane of angle ̘ = 25° has a spring of force constant k = 400 N/m fastened securely at the bottom so that the spring is parallel to the surface, as shown in the figure. A block of mass m = 3.0 kg is placed on the plane at a distance d = 0.40 m from the spring. From this position, the block is projected downward toward the spring with speed v = 0.80 m/s. By what distance is the spring compressed with the block momentarily comes to rest?
{Hint: use work energy theorem, reading work done by a spring will be very helpful}