Let m1 and m2 are separated at a distance d from each other as shown in the figure.
And P is the point where net Gravitational potential
Then P is the point of zero Gravitational potential
So the distance x from m1 is given by
Study 40% syllabus and score up to 100% marks in JEE