Chapter 10 exercise 5,7