Explanation:
Since we have a right triangle, we use the Pythagorean Theorem
or
where a and b are the legs and c is the hypotenuse
Remember the legs are the sides that form that right angle, and the hypotenuse is the side opposite of the right angle.
So here the hypotenuse is 8, and one of the legs is 4. So we plug those values into the formula