A wire of length 14 m is divided into two pieces and each piece is bent into a square. How should this be done in order to minimize the sum of the areas of the two squares?