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

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

b. Distance and mass