how does mass and distance affect gravity?
The force of gravity depends directly upon the masses of the two objects, and inversely on the square of the distance between them. This means that the force of gravity increases with mass, but decreases with increasing distance between objects.