Problem 7 Solution Complete