a right triangle is 18 inches long and a hypotenuse that is 30 inches long. what is the perimeter, in inches, of this triangle?