Chapter 2 solution