Exercise 3 Solution

(You may want to maximize your window to see the solution more clearly.)

Integrating each of the four parts using  gives the following: