Finish exercises chapter 9