Use the form of the definition of the integral given in Theorem 4 to evaluate the integral

Use the form of the definition of the integral given in Theorem 4 to evaluate the integral.
0 (x2 + x)dx

-2