Hi, need help to understand why the answer is not 21.5cm for this question.

Matthew had 1.5 m of copper wire. He used it to bend into the shape shown in the figure below. In the figure, there are 6 equilateral triangles. He had 21 cm of the copper wire left. What was the length of AB?

thank you.