Answer:
We can use the Pythagorean theorem to solve this problem.
The Pythagorean theorem states that in a right triangle, the square of the length of the hypotenuse (the longest side) is equal to the sum of the squares of the lengths of the other two sides.
In this case, we know that the two sides have lengths of 2 cm and 6 cm, and we are trying to find the length of the third side, which we'll call x. We also know that the third side is not the hypotenuse, so we can't just assume that it's the longest side.
Using the Pythagorean theorem, we can write:
x^2 + 2^2 = 6^2
Simplifying, we get:
x^2 + 4 = 36
Subtracting 4 from both sides, we get:
x^2 = 32
Taking the square root of both sides, we get:
x = sqrt(32)
Simplifying, we get:
x = 4sqrt(2)
So the length of the third side is 4sqrt(2) centimeters.