Chapter 3 solution