5. A wire of given length L may be cut into pieces to form a square and an equilateral triangle. How should it be cut if the sum of the areas of the square and the equilateral triangle is to be a minimum? A maximum? (10 分)