solutions to chapter 5