Problem solving for chapter 2