To find the height of the rectangle, we first need to determine the area of both the rectangle and the triangle that make up the composite shape.
- The area of the composite shape is given as 78 square centimeters.
- The base of the rectangle is 6 centimeters.
- The triangle on top has a base of 6 centimeters (the same as the rectangle) and a height of 6 centimeters.
Now, we can calculate the area of the triangle:
\[ \text{Area of triangle} = \frac{1}{2} \times \text{base} \times \text{height} = \frac{1}{2} \times 6 \times 6 = 18 \text{ square centimeters} \]
Next, let the height of the rectangle be \( h \) centimeters. The area of the rectangle is given by:
\[ \text{Area of rectangle} = \text{base} \times \text{height} = 6 \times h \]
Now we can set up the equation for the area of the composite shape:
\[ \text{Area of rectangle} + \text{Area of triangle} = 78 \] \[ 6h + 18 = 78 \]
Now, subtract 18 from both sides:
\[ 6h = 60 \]
Next, divide both sides by 6:
\[ h = 10 \]
Thus, the height of the rectangle is \( \boxed{10} \) centimeters.