I will confess that on my first look at this, I did not notice that it was third order either!
The characteristic equation is [itex]r^3+ r^2- 6r= r(r^2+ r- 6)= r(r- 2)(r+ 3)= 0[/itex].
The characteristic roots are r= 0, r= 2, and r= -3 so the three independent solutions are [itex]e^{0x}= 1[/itex], [itex]e^{2x}[/itex] and [itex]e^{-3x}[/itex].
Now look for a particular solution of the form [itex]Ax+ B[/itex].
Yes, you can integrate the original equation with respect to x first but then you get
[itex]y"+ y'- 6y[/itex][itex]= 18x^2+ C[/itex] where C is the constant of integration and now your characteristic equation is, as you say, [itex]r^2+ r- 6= (r+ 3)(r- 2)[/itex] so that r= -3 and r= 2, giving you you [itex]e^{-3x}[/itex] and [itex]e^{2x}[/itex] as solutions but now you have to try a particular solution of the form [itex]Ax^2+ Bx+ C'[/itex] (and don't confuse this C' with the original C).
Here is yet a third way to solve this problem. Let u= dy/dx and the equation becomes u"+ u'- 6u= 36x. The characteristic equation is [itex]r^2+ r- 6= (r+ 3)(r- 2)= 0[/itex]. Trying a particular solution of the form u= Ax+ B, u'= A, and u"= 0 so the equation becomes 0+ A- 6Ax- 6B= 36x. We must have -6A= 36 so A= -6. Then A- 6B= 0 becomes 6B= A= -6 so B= -1.
The solution to u"+ u'- 6u= 36x is [itex]u= y'= C_1e^{3x}+ C_2e^{-2x}- 6x- 1[/itex]. Now integrate again to find y: [itex]y(x)= (C_1/3)e^{3x}- (C_2/2)e^{-2x}- 3x^2- x+ C_3[/itex]. Of course, since [itex]C_1[/itex] and [itex]C_2[/itex] are arbitrary constants, so are [itex]C_1/3[/itex] and [itex]-C_2/2[/itex] so we could just relabel them as "[itex]C_1[/itex]" and "[itex]C_2[/itex]".