Completed Problem 7.