Integrate[(3x^3-x^2+2x-4)/Sqrt[x^2-3x+2],x]