Solutions from chapter 2.