Can someone tell me if this is right? if it isnt, tell me what is wrong. Im lost on creating the correct complimentary and particular solutions..

1. $\displaystyle y'' - 2y' +5y = e^x\cos 2x$

2. $\displaystyle m^2 - 2m + 5 = 0$

3. $\displaystyle m = 1 +2i $

4. $\displaystyle m = 1 -2i $

5. $\displaystyle Yc = e^x(A\cos 2x + B\sin 2x)$

6. $\displaystyle Yp = xe^x(A\cos 2x + B\sin 2x)$

I understand when you have the same answers in the particular solution you have to add an 'x' to the particular solution. What im lost on is getting the correct particular solution.

thanks!