A block, mass = m1, lies on an incline of angle theta, and is connected to a second block of mass m2=3/2 m by a string that passes over a light frictionless pulley. The second block hangs vertically and is firmly attached to a spring that has negligible mass and a force constant of k. The opposite end of the spring is firmly attached to a horizontal surface. The spring is unstretched, when both masses are in their equilibrium positions. The surface of the incline is frictionless. The block atop the spring is a distance h above the horizontal surface when the spring is unstressed.
Now the mass m1 is pulled down the incline a distance h from the equilibrium position and released. What is the speed of both blocks when they pass through their equilibrium points?
First, at equilibrium condition if m2 is larger than m1, the spring will be compressed. Since you said the spring is unstretched when both masses are in their equilibrium positions, I assume "m2 = 3/2 m" is ...
The solution walks through the process to find the answer using the relevant equations and explanation.