You know that
$$
\ln(1+x)=\sum_{n=1}^{\infty}(-1)^{n+1}\frac{x^n}{n}
$$
so
$$
\ln(1-x)=-\sum_{n=1}^{\infty}\frac{x^n}{n}
$$
Note the sum starts from $n=1$, not $2$.
Differentiating,
$$
-\frac{1}{1-x}=-\sum_{n=1}^{\infty}x^{n-1}
$$
that can be rewritten
$$
\frac{1}{1-x}=\sum_{n=0}^{\infty}x^n
$$
By differentiating again you get
$$
\frac{1}{(1-x)^2}=\sum_{n=1}^{\infty}nx^{n-1}=\sum_{n=0}^{\infty}(n+1)x^n
$$
Some explanations are apparently in order. Let's consider the general case
$$
f(x)=\sum_{n=0}^{\infty}a_nx^n
$$
Then the derivative can be written
$$
f'(x)=\sum_{n=1}^{\infty}na_nx^{n-1}
$$
because the constant term $a_0$ disappears and it's better to avoid writing the term
$$
0a_0x^{0-1}
$$
which would be undefined at $0$.
In the case of
$$
\ln(1-x)=-\sum_{n=1}^{\infty}\frac{x^n}{n}
$$
we have
$$
\ln(1-x)=\sum_{n=0}^{\infty}a_nx^n
$$
where
$$
a_n=\begin{cases}
0 & \text{if $n=0$}\\[4px]
-\dfrac{1}{n} & \text{if $n>0$}
\end{cases}
$$
so the derivative is
$$
-\frac{1}{1-x}=\sum_{n=1}^{\infty}na_nx^{n-1}=
\sum_{n=1}^{\infty}(-1)x^{n-1}=
-\sum_{n=0}^{\infty}x^n
$$
the last equality by pulling the minus sign outside and changing indexing.