How to use special right triangles to determine the leg of a triangle