Figure 7-6.
More fun with polymorphic shapes.