The perimeter P of the given rectangle is

Since the wire is the same, this perimeter must be preserved. Let L be the side of the square, then its perimeter is given by

since

we get

then, L is given by
![\begin{gathered} L=(24)/(4) \\ L=6\operatorname{cm} \end{gathered}]()
then, the lenght of a side of the square measure 6cm