\sum_{k=0}^{n}(k+1)x^k = \frac{(n+1)x^{n+2} - (n+2)x^{n+1} + 1}{(x-1)^2}