Determine the length of one leg of a right triangle if one leg has a length of 8 inches and the hypotenuse has length 10 inches?

i don't understand this stuff