Solving for missing sides and angles in a right triangle.