Consider the following table:

0246810
45444237263

(a) Use this data and a left-endpoint Riemann sum to estimate the integral:

(b) Use this data and a right-endpoint Riemann sum to estimate the integral:

You can earn partial credit on this problem.