Problem 7 Explanation