consider the integral (4x^2+2x+4)dx from 0 to 6

Find the Riemann sum for this integral using right endpoints and n=3

and

Find the Riemann sum for this same integral, using left endpoints and n=3