Solve for X with steps

Answer:
x= 17.78
Step-by-step explanation:
a^2 + b^2 = c^2
8^2 + b^2 = 18^2
b^2= 18^2-8^2
b^2 = 260
so you have to take square root i can't show the symbol of it so i am just do it
b= 16.12
then you use that for other tringle
same formula
24^2= x^2+16.12^2
x^2= 316.15
x= 17.78