The formula to calculate the gravitational force between two objects is F
GM1 M2
where M₁ and M2 are the masses of the objects, G is the gravitational constant and
r is the distance between the objects. Solve for M₂ in terms of Fg, G, M₁ and r.