Find sum of products of integers 6

We are finding sum of products of consecutive integers.