First, we set the centripetal acceleration equal to the gravitational force to get: . To relate this to a period, we note that , and solving for we get . This gives us an expression for the mass of the earth given the period and radius of the moon’s orbit.

Then, we simply substitute into an expression for , where is the mass of the earth, and is the radius of the earth. Thus, .

So you don’t even need to know !