Let the gravitational field be zero at point P which is at a distance x from m. So distance from 4m is d-x.
Gmx2=G4m(d−x)2⇒1x2=4(d−x)2⇒d−x=2x∴x=d3
So the point P is at a distance d3 from mass m and 2d3 from the mass 4m.
The potential at this point is
V=−Gmd3+−G4m2d3⇒V=−9Gmd