his goal is to minimize the distance that the boat is carried downstream. In the first case