Exercise 3.27: Draw diagrams