complete exercises for chapter 5