Solving Right Triangle Problems