Solve the following ODE using the method of undetermined coefficients:
$$y''-4y'+4y=(x+1)e^{2x}$$
My work. I have the homogeneous solution: $$y_h=C_1e^{2t}+C_2te^{2t}$$ I use this function to get the particular solution of the ODE: $$y=(Ax+B)xe^{2x}$$ And after substitution on the ODE, I get: $$2A=(x+1)e^{2x}$$ What about $B$? I don't know what I am missing. Could someone give me a hint? Thank you.