Problem 9
Problems 10 + 11