$$\frac{1-7x}{(1-x)^2(1+x)} = \frac{1-7x}{(1-x^2)(1-x)} = \frac{A}{1-x}+\frac{Bx+C}{1-x^2}$$ implies $1-7x = A-Ax^2+Bx-Bx^2+C-Cx$
Equating $x^2,x$ terms and constant on both sides, we get $$A+B = 0,\quad B-C=-7,\quad A+C=1$$ Therefore $$A+C=7,\quad A+C=1.$$
I am wondering how to resolve it into partial fractions to get the integration. I am not sure if I missed something, though it looks silly.
Thanks for any help.