I need a answer for this

Answer:
6
Step-by-step explanation:
Since this is a right triangle, we can use the Pythagorean theorem
a^2+b^2 = c^2 where a and b are the legs and c is the hypotenuse
a^2 + 8^2 = 10^2
a^2 +64=100
a^2 = 100-64
a^2 = 36
Take the square root of each side
sqrt(a^2) = sqrt(36)
a = 6