The formula for the force between two objects is
,
where M and m are the masses of the two objects, G is a constant, and r is the distance between them. Solve the formula for G.