Complete chapter 6 exercises