Match the answer 12

Translate the text above into English, please retain the source text's line breaks and format, and output the translation result directly.
6. As shown in the figure, a rectangle is divided into two parts of exactly the same size and shape by a zigzag line, and these two parts can be combined to form a square. Given that the length of the rectangle is 27 cm, what is the width of the rectangle in cm?