I was rushing on copying my notes and I do not know how this:

5(35(3^n-1) - 29(2^n-1) ) - 6(35(3^n-2) - 29(2^n-2) )

=

(the 6 in the 2nd portion can be written as 2*3)

5*35(3^n-1) - 5*29(2^n-1) - 2*35(3^n-1) + 3*29(2^n-1)

this is where I do not know how I got this on my notes in the next step.

= 3*35*(3^n-1) - 2*29(2^n-1)

=35*(3^n) - 29(2^n)

anyone know how I get = 3*35*(3^n-1) - 2*29(2^n-1), thanks in advance.