The distance from Capital City to Little Village is 51 miles. From Capital City to Yourtown is 37 miles, from Mytown to Little Village is 8 miles, and from Yourtown to Mytown is \(6\) miles. How far is it from Mytown to Capital City?
If you want to walk from Mytown to Capital City, you go like this (assuming there are no shortcuts):
Mytown -> Little Village -> Capital City
or this:
Mytown -> Yourtown -> Capital City
The first path is (8 + 51) miles long and the second path is (6 + 37) miles long. Whichever one is shorter is the distance required.