A square has a perimeter of 24cm. If a diagonal line is drawn through the square in such a way that two identical right triangles are produced, what is the length of the diagonal line?

Pythagorean theorem

Square has 4 sides = 24, then each side = 6

6^2 + 6^2 = D^2