i really can't find out why
$$\sum_{k=1}^m n-k = -\frac12\left(m^2-2nm +m\right)$$ and why $$\sum_{k=m+1}^{2m} k = \frac12m\, (3m +1)$$
For the first one i really don't know where to start, but for the second one i tried to put the numbers one near the other in this way and under the opposite sequence \begin{align*}m+1, m+2,&\dots,\, 2m-1, 2m\\ 2m,2m-1,&\dots,\,m+2,m+1\end{align*}
I saw that the vertical sum is always $3m+1$, that it must be multiplied for the number of numbers in a sequence, that is $m$, and that divided by $2$, so $$\dfrac{(3m+1)m}{2}$$ But i don't know if it can be considered as a proof. I tried to prove similary the first one with this method, but it doesn't work, do you have any hint?