First, you have to apply the Pythagorean Theorem to this problem to solve for the hypotenuse.
22^2 + 15^2 = c^2
"C", which is the hypotenuse, is approximately 26.63 inches long. So, now add all the sides, and you should have 63.63 inches as your final answer.