The graph of f', the derivative of the function f, is shown above for x on the closed interval of [0,10]. The areas of the regions between the graph of f' and the x-axis are 20, 6, and 4, respectively. If f(0)=2, what is the maximum value of f on the closed interval [0,10]?

a. 16

b. 20

c. 22

d. 30

e. 32

I have no clue how to solve this one.