Solved Problem 2.