I have a mathematical sequence question a picture included this is an arithmetic sequence

Given the sum:
[tex]-4+-3+-2+...+(-5+1n)[/tex]This can be expressed using the sum operator:
[tex]\sum_{k\mathop{=}1}^n(-5+1k)=-4+-3+-2+...+(-5+1n)[/tex]From the left side:
[tex]\sum_{k\mathop{=}1}^n(-5+1k)=\sum_{k\mathop{=}1}^n(-5)+\sum_{k\mathop{=}1}^n(1k)[/tex]It is well known that:
[tex]\begin{gathered} \sum_{k\mathop{=}1}^n(-5)=-5n \\ \\ \sum_{k\mathop{=}1}^n(1k)=\frac{n(n+1)}{2} \end{gathered}[/tex]Finally, using these results, we have:
[tex]\begin{gathered} \sum_{k\mathop{=}1}^n(-5+1k)=-5n+\frac{n(n+1)}{2}=\frac{-10n+n^2+n}{2} \\ \\ \therefore\sum_{k\mathop{=}1}^n(-5+1k)=\frac{n(n-9)}{2} \end{gathered}[/tex]