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.
6.5m questions
8.7m answers