Exercises and examples for lessons 6-9