Problem 4 Solution Complete