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

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