Question 284781
Here is the equation that you need:

(18)^2 + (L)^2 = (30)^2, where L is the length of the second leg.

Can you find L now?