A wedge of mass
′M′ and angle of inclination
′θ′ and a block of mass
′m′ are arranged in a manner shown in the figure. The spring of force constant
′k′ is attached to the wedge. Assuming the pulleys to be massless and all surfaces to be frictionless, find the compression of the spring under equilibrium condition.