Cup spring balance mass m1, makes vertical

Cup of spring scales of mass m1 performs vertical harmonic oscillations with amplitude A. When the cup was in the lowest position, a load of mass m2 was placed on it. As a result, the oscillations stopped. Determine the initial oscillation period of the cup.
10494. A detailed solution with a brief note of the conditions, formulas and laws used in the solution, the derivation of the calculation formula and the answer.
If you have any questions about the solution, write. I try to help.