How can we determine the sum of a series where each term is a product of two integers using method of differences? I have been trying to find out the sum of a series up to the $n^{th}$ term but failed.$$S_n=1 \cdot 3+2 \cdot 4+3 \cdot 5+4 \cdot 6+ \ldots + n(n+2)$$
my work:
\begin{align*}
S_n & =\frac{n(n+2)(n+4)-(n-2)n(n+2)}{6}\\
    & =\frac{n(n+2)(n+4)}{6}-\frac{n(n+2)(n-2)}{6}\\
    & =V_n - V_0
\end{align*}
since $V_0=0$
$$S_n =\frac{n(n+2)(n+4)}{6}$$
but later I found that the actual sum is $$S_n=\frac{n(n+1)(2n+7)}{6}$$
Where did I make a mistake? I tried to find the sum in another way and that is by taking the sum of $n^2+2n$ and obtained the actual sum but couldn't find where I made a mistake in my first approach.
I am stuck with another problem too and that one is
$$S_n=1 \cdot 2+2 \cdot 5+3 \cdot 8+ \ldots + n(3n-1)$$
In this one I am completely clueless what to do since $n$ and $3n-1$ doesn't seem to be following a pattern between them.

$S_n$ will be a cubic function of $n$, because there are $n$ terms of $2nd$ degree (quadratic). Then, we can write the formula for $S_n$ as $S_n = An^3 + Bn^2 + Cn + D$.
When $n=0$, $S_n = 0\cdot2 = 0 \Rightarrow D = 0$
When we plug in $n=1,2,3$, we get this system of equations:
\begin{align}
\tag{1}
A+B+C = 3
\newline
\tag{2}
8A+4B+2C = 11
\newline
\tag{3}
27A+9B+3C = 11
\end{align}
Solving this system gives $A=\frac{1}{3}, B = \frac{3}{2}, C = \frac{7}{6}$. Plugging these in to $S_n$, we get:
\begin{align}
S_n = \frac{2n^3+9n^2+7n}{6} = \frac{n(n+1)(2n+7)}{6}
\end{align}
