how do you evauste the intergral

intergral (2x^4-2x^3+6x^2-5x+1)/(x^3-x^2+x-1)dx

using partial fractions method?

can you factor the denominator? It appears that (x-1) is a factor.