take two masses M1 and M2. problem says that M1+M2= 4.
Newton's law of gravitation says that force between two objects of mass M1 and M2 is
F = (gravitational constant) x (M1) x (M2) / (square of the distance)
so u know F, gravitational constant, the value of distance...