Problem 9 solutions
Problem 10