What are the two factors that affect the force of gravity between two objects?

a
Weight and mass
b
Mass and matter
c
Distance and weight
d
Distance and mass

d. Distance and mass.