Solution to question 10