Chapter1 question8 and chapter 2 question1-3