The farthest distance on the planet that the eye can see is given by the formula
= your first height and =your second height
Since or the height of the periscope over the water and for the height of the ship the answer is 832.45553203368 feet, but because the question asks to the nearest mile the answer would be
If you get it wrong just tell me and I will rework my math again :-)