For any right triangle, squaring each of the legs then adding them will equal to the hypotenuse squared.
In mathematical notation: [tex] a^2 + b^2 = c^2 [/tex]
Where the variables a and b are the legs and the variable c is the hypotenuse.
Plug in the values.
[tex] 12^2 + 35^2 = c^2[/tex]
[tex] 144 + 1225 = c^2[/tex]
[tex] 1369 = c^2 [/tex]
[tex] 37 = c[/tex]
So, the hypotenuse is 37 units long.