Completed Problem 4.