solutions to chapter 4