It says use the Pythagorean theorem to solve for x

The Solution:
Given:
Required:
Find the value of x.
Using the Pythagorean theorem:
[tex]x^2+6^2=10^2[/tex][tex]x^2=10^2-6^2[/tex][tex]\begin{gathered} x^2=100-36 \\ \\ x^2=64 \\ \\ x=\sqrt{64} \\ \\ x=8 \end{gathered}[/tex]Answer:
x = 8