Can someone show me how to do an indefinate integral?

I have to evaluate this problem.

x^2(3x-1)dx

First multiply the two terms. Then integrate the terms 3 x^3 and -x^2 separately, and add the results.

Use the rule that the indefinite integral of a*x^n is [a/(n+1)]*x^(n+1),
where a is any constant.

The first term will be (3/4)*x^4. Now integrate -x^2 for the other term. An arbitrary constant C can always be added, but is often omitted.