~cpp Triangle aTriangle; Rectangle aRectangle; ComposedShape aComposedShape2; aComposedShape2.Add(&aTriangle); aComposedShape2.Add(&aRectangle); Circle aCircle; Rectangle aRectangle2; ComposedShape aComposedShape; aComposedShape.Add(&aComposedShape2); aComposedShape.Add(&aCircle); aComposedShape.Add(&aRectangle2); Pallete aPallete; aPallete.registerNewShape(aComposedShape); aPallete.Draw();