It is D, the distance between each object squared. We get this from solving for the force of gravity, which is
F = G((m1*m2)/(r^2)).
Here, you can see that the masses of the two objects are divided by their total distance apart from each other (r) squared.