How to solve summation notation