The Pythagorean theorem equation is

and x is 6.71
How the value of x was determined.
The Pythagorean Theorem states that in a right triangle, the square of the length of the hypotenuse (c) is equal to the sum of the squares of the lengths of the other two sides (a) and (b).

From the figure
The angle opposite to side of measure 9 is 90⁰ as indicated in the figure.

81 = 36 + x²
x² = 81-36
x² = 45

x = 6.708
x = 6.71 approximately.
The Pythagorean theorem equation is

and value of x is 6.71