# solving a generating function

So from (x-1)-2=c1x/(1-x)-2+c2x/(1-x) (using generating functions for $\sum nx^n$ and $\sum x^n$, I got the equation 1=c1x+c2x(1-x).