With integration like this, you can look at each appearance of x individually. Firstly there is a rule to follow that is the power of X in each case increases by 1 and then that increase power divides the case:
eg. integral of x2 = x2+1/(2+1)
in this case, the integral of 3x2 -> 3x2+1/3 = x3 and x3 -> x(3+1)/(3+1) = x4/(4)
you must always remember when integrating to add a constant to the end ( +c)
so we have x3 + x4/4 + C
as our final integration