Formula For Solving Right Triangles