Exercise 3.5 1 Complete working