Solution for internal use NOT for publication
We know that
n=0 xn = 1 (1-x)

so
n=0 nxn =x d dx n=0 xn =x d dx ( 1 1-x ) = x (1-x )2 .

Going one step further
n=0 n2 xn =x d dx x (1-x )2 =x( (1-x )2 +2x(1-x) (1-x )4 ) =x( (1-x)+2x (1-x )3 ) = x(1+x) (1-x )3 .

More generally
n=0 nk xn =(x d dx )(x d dx )( 1 1-x )

where the operator.
(x d dx )

is applied k times.