I am struggling to understand a key step in a proof of the Artin-Rees lemma, which I have put in a red box below. I don't really see how we can pass from a finite direct sum to an infinite one. I've tried writing out both sides of the equality to get from one to the other, but I'm just not seeing it...
I'm sure I'm just missing something, but any help would be much appreciated, thanks!
Here is the proof given:
Here is the preceding section on how to make an $R$-module $M$ into an $R[t]$-module $M[t]$:

