According to the question, the arrangement of the masses is as shown below,
Gravitational force between two masses is given as F=r2Gm1m2 where, G= gravitational constant and r= distance between them. From the given values, we can say that force between masses at A and G. = Force between masses at B and G ⇒ FA=AG2GmAmG and FB=BG2GmBmG or FA=FB=12G×8×2=16G ...(i) [∵ Given, m1=mA=mB=8 kg,m2=mG=2 kg,,AG=BG=r=1 m] From the figure, resultant of FA and FB is given as FAB=FA2+FB2+2FAFBcosθ=2FA2+2FA2cos120∘=FA2=(26G)2=16G [from Eq. (i)] ⇒FAB=FA=FB=16G For resultant force on 2 kg body to be zero, 4 kg body should be placed at a certain distance from G such that FCG=−FAE ⇒ ∣FCG∣=∣FAB∣ or x2G×mCmG=G(16) where, x= distance between 4 kg and 2 kg body. Here, mC=4 kg ⇒ x2G×4×2=G(16) ⇒ x2=21 ⇒ x=21 m This means, 4 kg body should be placed at point P on line CG such that PG=21 m.