A composite figure is formed by a square and an isosceles right triangle. If the sides of the square and the legs of the triangle are 6 centimeters in length, what is the area of the figure?