Problem 21 Solution.