Answer:
√105 inches
Explanation:
The diagonal of the bottom is the hypotenuse of a right triangle with legs measuring 5 and 8.
a² + b² = c²
5² + 8² = c²
c² = 89
c = √89
The path of the spider is the hypotenuse of a right triangle whose legs measure √89 and 4.
a² + b² = c²
(√89)² + 4² = c²
89 + 16 = c²
c² = 105
c = √105