This forms a right-angled triangle with sides 8 km and 6 km. The shortest distance is the hypotenuse, calculated using the Pythagorean theorem: $\sqrt{8^2 + 6^2} = \sqrt{64 + 36} = \sqrt{100} = 10$ km. [cite: 1, 1790, 1800]