Solution to question 11