The sum of the measures of the base and height of a triangle is 24 cm. Determine the measures of the base and height for which the area of the triangle is a maximum.​