Solve Right Triangle Formula