Optimization: An Isosceles Triangle with Fixed Perimeter

Consider the cutting of a straight wire with fixed length into three segments so as to form an isosceles triangle. How long must be the base in order to maximize the area of the triangle? The line below the triangle represents the wire with fixed length; the green segment represents the variable base AB.