Chapter 9.6 exercise 5 and following undone