F=r2Gm1m2
m1=100kg
m2=20kg; r=1.2m
G=6.67×10−11
F=(1.2)26.67×10−11×100×20=9.26×10−8
The acceleration of each object is inversely proportional to the mass, the lighter object will move a bit faster, hence. the force will act in the direction of Q.