Completed Problem 2.