Solved Problem 3.