The formula for the Pythagorean's Theorem is a^2 + b^2 = c^2, so first you know that hypotenuse is the longest side or the opposite side from which the right angle is which in this case is the 6 so you are looking for a leg rather then the hypotenuse which means we are going to be doing subtraction.