Chapter 3 ex. 4 and 5