Apply the Pythagorean Theorem to determine whether a triangle with sides 10 cm, 24 cm, 25 cm is a right triangle.

A: The triangle is a right triangle because 10+24=25+9.

B: The triangle is a right triangle because 10^2 + 24^2 = 676.

C: The triangle is not a right triangle because 10 + 24 does not equal to 25.

D: The triangle is not a right triangle because 10^2 + 24^2 does not equal to 25^2.

D: The triangle is not a right triangle because 10^2 + 24^2 does not equal to 25^2.