Adding solutions to chapter 9 section 3.