Practice Integral Gateway Number 2

Question 1 solution