add solution for question 1.1