Answer for question 1