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

Use the form of the definition of the integral given in Theorem 4 to evaluate the integral 1 to 4 (x^2-4x+2)dx