How to solve for sohcahtoa in a right triangle?