Consider a triangle ABC where side lengths are given as follows: AB = 7 cm, BC = 24 cm, and AC = x cm. The angle ACB is a right angle. Determine the value of x, and based on this value, determine whether triangle ABC is a right triangle, an obtuse triangle, or an acute triangle.
Use the Pythagorean theorem, which states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides:
$$ c^2 = a^2 + b^2 $$
Where c is the length of the hypotenuse while a and b are the lengths of the other two sides.