a) Prove that of all triangles with a given perimeter, the one with the largest area is the equilateral triangle.
b) Prove that of all quadrilaterals with a given perimeter, the one with the largest area is the square.