A wire was bent into the shape of a rectangle with width 5 and length 7. If this wire is bent into shape of a square, what is the length of a side of the square