Answer: 85
Work Shown:
I used the pythagorean theorem with a = 40 and b = 75. The order of the 'a' and b doesn't matter, as long as c is the largest side.
The 40-75-85 pythagorean triple is the scaled up version of the 8-15-17 triple (multiply each piece by 5).