If you haven't already, download the files for this exercise: composition.zip
See the logic that determines the type of graphic to draw and follow the steps to draw a bitmap graphic.
Next, learn how to build your own compositions.