A cowboy is $4$ miles south of a stream which flows due east. He is also $8$ miles west and $7$ miles north of his cabin. He wishes to water his horse at the stream and return home. The shortest distance (in miles) he can travel and accomplish this is:
a. $4 + \sqrt{185}$
b. $16 $
c. $17 $
d. $18 $
e. $\sqrt{32} + \sqrt{137}$
The correct answer is C, however I did not get that. I got my incorrect answer (A) by adding $7$ and $4$. I used the Pythagorean Theorem to find the hypotenuse length of an $8\times 11$ triangle which is $\sqrt{185}$.
Could you please explain how to get it? Thank you.


WLOG the cowboy is at $(0,0)$. The stream is at $y=4$ and his cabin is at $(8,-7)$. Note the minimum distance to the stream and then to his cabin is the same as going directly to $(8,15)$, which has length $17$.