Add solution for question 2