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.
8.5m questions
11.2m answers