Please help with question 2 I need help please

Answer:
the answer is 6
Step-by-step explanation:
because it is a right triangle, you can use Pythagorean theorem (a^2+b^2=c^2)
the hypotenuse is always c
so i did this:
[tex]8^{2} +x^{2} =10^{2}[/tex]
64+[tex]x^{2}[/tex]=100
[tex]x^{2}[/tex]=100-64
[tex]x^{2}[/tex]=36
x=[tex]\sqrt{36}[/tex]
x=6