Thank you for posting your question here at brainly. I hope the answer will help you. Feel free to ask more questions.
Below is the solution:
Use Pythagorean Theorem:
radius of Earth squared + distance to horizon squared = distance from center of earth to Space Station squared.
4000^2 + x^2 = 4240^2
x^2 = 1977600
x = 1406.27