I got an answer of 58.
Subtract 10 from the side length of 24 to get 14.
And use the side length of 5 to find another side length that also equals 5.
In total all your side lengths would be 10,5,5,24,14. And all of them together to arrive at an answer of 58.