Show that of all the isosceles triangles with a given perimeter, the one with the greatest area is equilateral

Show that of all the isosceles triangles with a given perimeter, the one with the greatest area is equilateral.
image