I have a problem similar to one already posted here which has been bothering me as well.

(x-1)y'' - xy' + y = (x-1)^2; y1=x, y2=e^x

I need some help figuring out the general solution via variation of parameters, I am finding it quite troublesome matching it up with the answer the book gives. Some insight would be helpful.