The strength of the gravitational force between two objects depends on two factors mass and distance. The force of gravity the masses exert each other increases the force of gravity decreases.
If the distance is doubled the force of gravity is one fourth as strong as before.
Hope this helped u