Relative Velocity
A similar type of problem involves finding the angle to go across the river in the quickest time, rather than in the shortest distance (directly across).
For this problem, what we want is the biggest x-speed so that the time to cross the x distance is as small as possible. This we see can only be if we head straight across!