Consider the following equation:
$$x=\frac{(p+x(1-p))\cdot c}{1-(p+x(1-p))(1-c)}$$
Solution should be $$x=\frac{cp}{(1-c)(1-p)}$$
I tried to rewrite the first equation in such that:$$x^2[c(1-p )-(1-p)] + x[2cp - c + 1-p]-pc=0$$
Applying quadratic formula leads to something, since the term under the root cannot be simplified.
Is there another way to compute that?