Solving Right Angle Triangle Formula