The magnitude of acceleration due to gravity g1 at a depth of d below the surface of Earth is
g1=GR3M(R−d)=GR2M(1−Rd) ....(1)
The magnitude of acceleration due to gravity g2 at a height d above the surface of Earth is
g2=G(R+d)2M ....(2)
Given here, g1=4g2
R2GM(1−Rd)=(R+3R)24GM
⇒R2GM[1−Rd]=(4R)24GM
⇒1−Rd=41⇒Rd=43⇒d=43R
⇒d=4800km