Solve Problem #2.