The angle indicated is a right angle, so the triangle is a right triangle.
Thus, we can apply the Pythagora's Theorem:
[tex]a^2+b^2=c^2[/tex]Where c is the hypotenuse, the angle opposite to the right angle, and a and b are the legs.
x is the hypotenuse in this case, so:
[tex]\begin{gathered} 22^2+27^2=x^2 \\ x^2=484+729 \\ x^2=1213 \\ x=\sqrt[]{1213} \\ x=34.8281\ldots\approx34.8 \end{gathered}[/tex]