24^2 = x^2 + (x+5)^2
576= 2x^2 + 10x + 25
2x^2 + 10x -551 = 0
Solve for x using quadratic equations (look at picture for formula)
X=14.29 or x =-19.29 (disregard the negative answer because lengths can’t be in negative )
The last side is x+5= 14.25+5 = 19.25
Hope this helps..it’s been a while since I dealt with quadratic equations.