A wire 18 ft long is cut into two pieces. Each piece is bent into the shape of a square. The perimeter of the larger square is twice the perimeter of the smaller square. Find the perimeter of the larger square.