What is your justification for using the formula for the period of a simple pendulum? Is the motion of the hanging mass relevant here? What type of physics is being asked about?
In future, please type out your problem statement and solution attempts. Justify your approach and steps.