A triangle of area 12 sq cm is placed on top of a square of area 24 sq cm. The area of the resulting shape is ______.