You're in the water on a boat two miles from the nearest point on the shoreline. You're trying to get to a house which sits six miles up the shoreline. You can row at 3 miles per hour and walk at 5 miles per hour. How far is the point on the shoreline you should row toward in order to minimize the total time spent traveling?