the missing parts of a right triangle with the given two parts can be solved using