6:25 PM
@Hema Oscillation of Spring-Pulley System : This is a mass-on-a-spring type of problem. If we find the equation of motion and put it into the form $\ddot x+\omega^2 x=\text{constant}$ then we can find the period of oscillation from $T=2\pi /\omega$. There are 2 chief methods of finding the equation of motion : (i) apply Newton's 2nd Law to each mass, or (ii) differentiate the energy equation. I shall use method (i).
It looks as though the pulley $m_2$ will rotate, in which case we would have to take into account the rotational acceleration of the pulley as well as its linear acceleration. However, the answer you have been given can only be obtained if we ignore rotational motion. We must assume that the mass of the pulley is concentrated at a point at its centre so that its moment of inertia is zero. Then we can ignore its rotation. (This makes the problem much easier than it would be otherwise.)
Suppose the spring is extended upwards by distance $x$ from its equilibrium length. Then the tension in the spring is $F=kx$. Suppose the tension in the string attached to the pulleys is $T$. Then the resultant force on the pulley equals the upward acceleration of this pulley : $2T-F=m_2\ddot x$.
When $m_2$ moves up by a distance $x$ then $m_1$ moves down by $2x$. So when the acceleration of $m_2$ is $\ddot x$ then the acceleration of $m_1$ is $2\ddot x$. The resultant downward force on $m_1$ is related to its acceleration by $m_1g-T_1=2m_1 \ddot x$. (For $m_1$, down is the direction in which $x$ increases.)
Combine all the equations to eliminate $T, F$. We get $(4m_1+m_2)\ddot x+kx=2m_1g$. From this we can deduce that $\omega=\sqrt{\frac{k}{4m_1+m_2}}$ hence $T=2\pi \sqrt{\frac{4m_1+m_2}{k}}$.
The non-zero constant on the RHS of the equation of motion tells us that the equilibrium position of the oscillations is not at $x=0$ (where the spring is at its relaxed length) but at some other position.