Unable to solve expression for $x$ I'm trying to solve this expression for $x$:
$$\frac{x^n(n(1-x)+1)}{(1-x)^2}=0$$
I'm not sure where to begin (especially getting rid of the $x^n$ part), any hints or tips are appreciated.

Hint: Try multiplying both sides by the denominator, to get rid of it. Note that this may introduce extraneous solutions if what we multiplied by is $0$, so you have to consider the case of $(x - 1)^2 = 0$ separately.
Finally, to solve an equation of the form $a \cdot b = 0$, you can divide by $a \neq 0$ on both sides to get $b = 0$, but this may lead to missing solutions if $a = 0$ is also a solution. So again, consider the cases $a = 0$ and $a \neq 0$ (and therefore $b = 0$) separately.
