Answer:
104 feet
Explanation:
The Pythagorean theorem can be used to find the hypotenuse of a right triangle with legs 40 feet and 96 feet. It tells you ...
h² = 40² +96²
h² = 1600 +9216 = 10816
h = √10816 = 104
The distance from one corner to the opposite corner is 104 feet.
______
Additional comment
You may recognize that the ratios of the given lengths are 40:96 = 5:12. These match the legs in the Pythagorean triple (5, 12, 13). This tells you the third side (diagonal) of the triangle is 13 ratio units, or 13×(8 ft) = 104 ft.