Answer:
40 miles
Explanation:
You can recognize the right triangle as a 3-4-5 right triangle with a scale factor of 8. So the length of the hypotenuse is 8·5 = 40 miles.
___
Or, you can use the Pythagorean Theorem, which tells you that the sum of the squares of the leg distances will equal the square of the straight-line (hypotenuse) distance:
32² + 24² = h²
1024 +576 = h² = 1600
h = √1600 = 40 . . . . miles