I am a bit confused on how to solve the following using the method of undetermined coefficients:

equation: y'' + y - 2y = x + sin2x

So what i have done so far is:

roots are 1, -2 so

Yc = Ae^(x) + Be^(-2x)

But from the homogenious equation above i dont know how to go on. can someone help me solve this?

Thanks