add question 3 solution