(Notice that fresh has changed some of the variables from those in the problem statement.)
Think of what
@fresh_42 was getting at more like:
##\displaystyle \sum_{i=m}^n a_i## stands for:
##a_{m} + a_{m+1} + a_{m+2} + ... + a_{n-1} + a_{n} ##
In words, sum the ##a_i ## values, where ##i## takes on values from ##m## through ##n##.
With this in mind, do a similar translation for the right hand side. It may help to use an index other than ##i##, initially.
##\displaystyle \sum_{i=p}^{p+n-m} a_{j+m-p}##
Plug ##p## in for ##j## to get the index for the first term in the sum, then plug ##p+n-m## in for ##j## to get the index for the final term.