Which two factors determine the force of gravity between two objects?

mass and size
distance and mass
distance and inertia
mass and weight