After looking at the response, the formula would be $S_n = n2^{n+2} - (n+1)2^{n+1} + 2$
How would i use induction to prove this formula? I tried setting $S_{n+1}$ but having hard time getting $S_{n+1} = S_{n} + (n+1)2^{n+1}$
Edit: Also am i doing something wrong here: $S_{n} + (n+1)2^{n+1} = n2^{n+2} + 2.$ This look weird from $S_{n+1}$