Finish problem 9