chapter 8 exercises 2 and 4