Complete Exercise 5.6