From the astronaut to the horizon is a tangent line to the curvature of the earth. And from that point on the horizon to the center of the earth is at a right angle to the tangent and is equal to the radius of the earth...so we can say
cosα=r/(r+h) where r is the radius of the earth and h is the height above the surface of the earth...
α=arccos(r/(r+h))
now tanα=d/r where d is the distance from the astronaut to the point on the horizon so:
tan(arccos(r/(r+h))=d/r
d=rtan(arccos(r/(r+h))) and using r≈4000 and h=50 we get: