Added answer for question 3.