Complete Chapter 9 excerise 2