Work on problem 2.