Complete chapter 5 exercises