I have it all in front of me, I'm just having a bit of trouble understanding the math.

Then all of a sudden the summation and combination are gone and the book has

It goes on to show the differentiation and whatnot, which I understand. I just don't understand what was done with the combination and the summation. Any help would be appreciated.