If the boat moves this way, then the 10km and 7km lines, and the direct distance d form a right triangle. From here we can calculate d using the pythagorean theorem.
1.6m questions
2.0m answers