I want to evaluate the following sum
$$ \sum_{n=r}^{\infty} n^2 \binom{n-1}{r-1} p^r (1-p)^{n-r} $$
where $r \in \mathbb{N}$ and $0<p<1$.
Using WA I know that the sum evaluates to $\frac{r(r-p+1)}{p^2}$ but I don't know how to show this. I tried simplifying the sum a bit using that $$ n \binom{n-1}{r-1} = r \binom{n}{r} $$ Which gives me the new equivalent sum $$ \sum_{n=r}^{\infty} n^2 \binom{n-1}{r-1} p^r (1-p)^{n-r} = r\sum_{n=r}^{\infty} n \binom{n}{r} p^r (1-p)^{n-r} $$ but I didn't know how to continue. I have also previously shown that $$ \sum_{k=s}^{\infty} \binom{k-1}{s-1} (1-t)^{k-s} t^{s} = 1 $$ for $\lvert 1 - t \rvert <1$. I tried to apply this but I couldn't find a way to get rid of the factor of $n$ multiplying the binomial coefficients. Can anyone give me any hints as to how I can show this?