For second's pendulum at the surface of earth
For second's pendulum at the surface of moon
From Eqn. (i) and (ii)
On surface of moon, acceleration due to gravity is g/6. Time period of seconds pendulum on earth is 2 seconds.
From both equation we get,