Consider the given integral.
I=∫(x2+5x5+7x2)dx
We know that
∫xndx=xn+1n+1+C
Therefore,
I=x33+5x66+7x88+C