Exercise 6 Solution