Answer:

Explanation:
Imagine that the wire is cut as shown in the picture. We know that the lenght of the segment to the left is
and therefore the lenght of the segment to the right must be

Using the formula for the area of an equilateral triangle of sides of length x, we get that

And using the formula for the area of a square of length L-x, we obtain that
Then, the total area of the two shapes is giving by the sum of both areas:

Now we have to find the values x where the function
attains its maximum and its minimum. For this purpose, we calculate its critical points, which occurs when the derivative vanishes:
Solving for x we get that:
This is the only critical point. Using the second derivative test we found that, since
then at
the area of the two shapes is minimized.
Now, the only way we have maximum area is when the red point is on the extreme of the wire, at x = 0. This because in that situation, there is no triangle that can be formed and therefore the area is equals
