The schematic diagram below represents the path followed by the glider,
The point A represents the location of the airport.
Observe that the path of the glider forms a right angled triangle ABC.
So the hypotenuse AC can be calculated by using Pythagoras Theorem as,
Thus, the distance of the glider's last leg back to the airport is 17 miles.
So the second option is the correct choice.