When finding the length of the third side of a triangle after have been given the length of the first two sides, use the Pythagorean Theorem.
Example:
A triangle has a leg of 5 in and a leg of 7 in, Find the hypothenues
The formula is
c^2 = (a^2) + (b^2)
So
c^2 = (5^2) + (7^2)
c^2 = (25) + (49)
c^2 = 74
Find the square root of 74
c = 8.602