I doubt this can be done without calculus.
Your solution is only true if earth were a point mass.
Of course it isn't, so we'd have to calculate the residual gravitational pull while falling down. I would assume to get 9,81 m/s/s on the surface, and 0 m/s/s at the core. Then we'd have to...