There is kind of a cheat way in the exam if you got that question. Look at the formulae sheet, find the formula for gravitational force. Look at the variables involved, these are the things that affect gravitational force.
Also: Gravity is the only attractive force, it is the weakest force...