Solved Chapter 1, problem 2.