wants to swim across the river in the shortest time . He should swim in a direction