Question 1

This is the answer for question 1.

Question 2

This is the answer for question 2.