We can solve the problem by using Kepler's third law, which states:
where T is the period of revolution of the Moon around the Earth, G is the gravitational constant, M the Earth's mass and r the average distance between Earth and Moon.
Using the data of the problem:
We can re-arrange the equation and find the Earth's mass: