You have a square and a circle, and they have the same area.
You should know that the perimeter of a square is and the circumference of a circle is .
When you add them, you have the length of the wire, so
The area of a square is and the area of a circle is .
Since the areas are equal, that means
Substituting this back into the length of the wire formula gives
Since that means
So the two pieces of wire are...
Of course, all units are in inches.