Given that there is no data about the mass, I will suppose that the formula is that of the simple pendulum (which is only valid if the mass is negligible).
Any way my idea is to teach you how to use the formula and you can apply the procedure to the real formula that the problem incorporates.