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
then, the lenght of a side of the square measure 6cm