According to newton gravitational law any particle of matter in the universe attracts any other with a force varying directly as the product of the masses and inversely as the square of the distance between them:
Where m1 and m2 are the masses of the objects, r is the distance between the objects and G is the gravitational constant. Therefore, the answer is:
a. Weight of the objects and distance between the two objects