One "n" in the denominator of the left factor was taken inside the brackets.

and the rest follows.

Do you understand how the first term and common ratio of the geometric series,

were placed into the formula for summing the series ?

I think I misread your question a little.

It is of course a "series", rather than a sequence.