I previously asked a different question about the same problem. In my textbook, the steps to solving $\int \frac{2x^2-4x+3}{(x-1)^2} \, dx$ are as follows:
$$\int \frac{2x^2-4x+3}{(x-1)^2} \, dx$$ $$\int \frac{2x^2-4x+3}{x^2-2x+1} \, dx$$ $$\int 2+\frac{1}{(x-1)^2}\, dx$$ $$\int 2dx+\frac{dx}{(x-1)^2} $$
$$\int 2x-\frac{1}{(x-1)}+C$$
I don't understand how for step 4 there can be two dx's for one integral.