F=Gm1m2r2
m1=100kg
m2=20kg;r=1.2m
G=6.67×10−11
F=6.67×10−11×100×20(1.2)2=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.