I dont know if this is the answer but it should be. -x^2+7x-10/x
Your answer would be about 40 miles
Refraction is an effect that occurs when a light wave, incident at an angle away from the normal, passes a boundary from one medium into another in which there is a change in velocity of the light. Light is refracted when it crosses the interface from air into glass in which it moves more slowly.