This was a physics bonus assignment. I have been trying to solve it for the last 2 hours. Let's say that the density of The Moon and The Earth are the same. Moon radius:Earth radius is $0.273:1$! How long does the pendulum have to be for the period ($T$) to be $2$ seconds. We have the following constants available.
$$g(\text{Earth})=9.81m/s^2$$ $$G=6.67\times10^{-11}$$ I would really appreciate your help! This is not an obligatory assignment.