The path to the pier logic puzzle seems easy, but may be trickier than you think. There are two towns near a shore, and one town is slightly closer to the shore than the other town. They want to build a pier on the shoreline, as well as a path from the pier to each town. They want to use as little material as possible, so they need to put the pier in a location on the shoreline that minimizes the total length of both paths added together. Where on the shoreline should they build the pier?