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