AHSME Challenge Math Question Cowboy 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.

Your answer proposes the following trajectory for the cowboy:

But that's not optimal: it's better for the cowboy to be moving east the whole time, not just after getting water.
To see the optimal path, imagine the cowboy's evil twin, who is 8 miles further north of the cowboy: his position is the reflection of the cowboy's position through the edge of the stream. Also, the evil twin can fly.

Whatever path the cowboy takes, the evil twin can imitate, by first following the reflection of that path to the bank of the river, then following the cowboy back to his cabin. Conversely, however the evil twin gets to the cabin, the cowboy can imitate the evil twin's path, reflecting its first segment.
The evil twin's best path is the straight line from his location to the cabin. So the cowboy's best path is the red trajectory shown for him in the image above. Its length is $\sqrt{8^2 + (4 + 4 + 7)^2} = 17$.
