How to find the indefinite integral of (x + 1) / (X & # 178; - 2x + 5)

How to find the indefinite integral of (x + 1) / (X & # 178; - 2x + 5)

The original formula = ∫ (x-1) / (x2-2x + 5) DX + ∫ 2 / (x2-2x + 5) DX
=1/2ln(x2-2x+5)+arctan((x-1)/2)+C