Using universal law of gravitation

where
F =Force
G = Gravitation constant

Base on the formula above the force of gravity is inversely proportional to the square of the distance apart. This simply implies that if the distance between the 2 objects increases the force of gravity will