Finish problem 2.