I'm trying to integrate $$\int \frac{5-4x}{\sqrt{x^2-3x+2}}dx$$
I've tried u-substitution($u=x^2-3x+2$), but I can't seem to figure out how to make it work, so I've tried completing the square:
$$\:\int \frac{5-4x}{\sqrt{\left(x-\frac{3}{2}\right)^2-\left(\frac{1}{2}\right)^2}}dx$$
But I'm still stuck on where to go from there. I'm guessing I need to use the $\int \frac{du}{\sqrt{u^2-a^2}}$ formula, but I can't figure out what to do with $5-4x$.