We can use the Pythagorean theorem, which states that in a right-angled triangle, the square of the hypotenuse (c) is equal to the sum of the squares of the other two sides (a and b):
\[ a^2 + b^2 = c^2 \]
Let 'a' be the unknown leg, 'b' be the known leg (8), and 'c' be the hypotenuse (10).
\[ a^2 + 8^2 = 10^2 \]
\[ a^2 + 64 = 100 \]
\[ a^2 = 100 - 64 \]
\[ a^2 = 36 \]
\[ a = \sqrt{36} \]
\[ a = 6 \]
The length of the unknown leg is 6.