Answer:
√89 km
Explanation:
By applying Pythagoras theorem,
x² = 25+64
=89
Think about it on a graph. Plot down your cardinal points on the X and y axis, and plot the path the yacht would take. It would end up forming a triangle, in which case the length you travel is the hypotenuse.