A wire is first bent into the shape of a triangle. Each side of the triangle is 12 cm long. Then the wire is unbent and reshaped into a square. What is the length of
a side of the square?