**PROBLEM:**

There is a sewage treatment plant at the point where two rivers meet. You want to build a house near the two rivers (upstream from the sewage plant, naturally), but you want the house to be at least 5 miles from the sewage plant. You visit each of the rivers to go fishing about the same number of times but being lazy, you want to minimize the amount of walking you do. You want the sum of the distances from your house to the two rivers to be minimal, that is,the smallest distance.

**Where not to build a house.**

This location may be outside of the "danger zone" but that is the only part of the problem that this situation satisfies. The total distance to each river is not the least, and therefore does not satisfy all of the requirements.

**Where to build a house.**

This location satisfies all of the requirements of the problem. The house (green dot) is outside of the "danger zone" and the total distance sum to each river is the lowest it can be.