question 6 solution