Evaluate integral of 6x-x^2 with respect to x

Split the single integral into multiple integrals.
Since is constant with respect to , move out of the integral.
By the Power Rule, the integral of with respect to is .
Since is constant with respect to , move out of the integral.
By the Power Rule, the integral of with respect to is .
Simplify.
Simplify.
Simplify.
Combine and .
Combine and .
Cancel the common factor of and .
Factor out of .
Cancel the common factors.
Factor out of .
Cancel the common factor.
Rewrite the expression.
Divide by .
Evaluate integral of 6x-x^2 with respect to x