The shortest route is the one that is perpendicular to the shore.
In xy-coordinates, this means that the slope of the shore line and the slope of the shortest route line are negative reciprocals.
The shortest route line has also to pass throught the point where the swimmer is, that is (3,2).
We start finding the slope of the shore line. To find it, we pick two point of the line, like (0,5) and (2.5,0) and calculate:
The negative reciprocal of this slope is:
Then, we know that the shortest route line has a slope of mp=1/2.
With point (3,2) we can write the slope-point form of the line and rearrange into a slope-intercept form:
Answer: The shortest route can be represented by y=1/2*x+1/2