∫(x^2+5x-6)/(x^2-2x+1)dx
=∫(x-1)(x+6)/(x-1)² dx
=∫(x+6)/(x-1) dx
=∫(x-1+7)/(x-1) dx
=∫[1+7/(x-1)] dx
=x+7ln(x-1)+C