Following the Pythagorean Theorem, you can solve this problem by plugging in your given values into the equation.
In the theorem's equation, a is the length of the shortest leg of the triangle, b is the length of the longest leg and c is the length of the hypothenuse.
The given values are
Now plug in and solve:
2² + 6² = c²
4 + 36 = c²
40 = c²
Now take the square root of both sides to find c: c = √40