Added how I will complete the third question.