You might try including a logarithm in your guess. That could be the missing piece.
The problem with the method of undetermined coefficients is that really it's the "method of educated guessing". For certain inhomogeneous terms it's easy to guess the correct form of the particular solution and plug it in, but that won't always work.
There are more general methods, namely the "variation of parameters" method or "green's function" method.
I forget how the variation of parameters method works (it's been a while since I used it) - it's something like plugging u(x)y1(x) + v(x)y2(x) into the DE, and then demanding a certain term is zero: something like u'(x)y1(x) + v'(x)y2(x) = 0. This then takes this term out of the DE and reduces the number of undetermined functions by 1, so you can solve the DE. Try looking up how this actually works on wikipedia or something.
The green's function method works by, in this case, considering the equation
G''(x;\xi) - 2G'(x;\xi) + G(x;\xi) = \delta (x-\xi),
where the derivative is with respect to x and \xi is a parameter introduced that will be integrated over: Solving this equation, the function y is then given as an integral over the Green's function G:
y(x) = \int_a^b d\xi G(x;\xi) \frac{6e^\xi}{\xi^3}.
The limits a and b should be taken as the endpoints of the range your problem is defined on. The green's function method is the one I've used most. I learned the variation of parameters back in second year of undergrad, but in practice the green's function method tends to be more widely used, as it can be generalized to higher dimensions, for example. If you haven't dealt with the delta function, \delta(x), though, you may opt for the other method.
Anywho, it may turn out to be the case that the integrals you get in doing these methods may be expressed in closed form, in which case in principle you could have gotten the solution by undetermined coefficients, but the functions may be ones that you never would have been able to guess. Sometimes the integrals have to be left as integrals, in which case you certainly wouldn't have been able to guess them.