I have another differential equation which is quite similar to the first. I tried to work it out the same way buy I'm not sure how to do it.

Solvex*dy/dx-y = x given y(1)=2. Express your answer in terms of y.

y= ?

I have no idea how to do this question now as I'm not sure how to use the integrating factor properly. Could someone please work through this question or show how to get up to what needs to be integrated.

Thanks, Daddy_Long_Legs