Find the value of x. leave your answer in simplest radical form if necessary show work no decimals

Since the triangle is right-angled, then we can use the Pythagorean rule to solve x
Hence,
[tex]\begin{gathered} x^2+18^2=30^2 \\ x^2+324=900 \end{gathered}[/tex][tex]\begin{gathered} \Rightarrow x^2=900-324=576 \\ \Rightarrow x=\sqrt[]{576}=24units \end{gathered}[/tex]x = 24