you use the equation a^2 + b^2 = c^2 and the parts include the hypotenuse which is across from the right angle(the diagonal part of the triangle) and this is also the c for the equation and the a and b are the two legs(the other lengths of the triangle) and to find one of these you plug what you know into the equation and go from there