Use the following figure, which shows a graph of to find each of the indicated integrals.


(Click on the graph for a larger version.)

Note that the first area (with vertical, red shading) is 18 and the second (with oblique, black shading) is 6.

A.

B.

C.

D.