Finished Exercise 9-2