I have to find the closed form for
$$T(n) = \begin{cases} 2 , &\text{ if } n=0 \\ 9T(n-1) - 56n + 63, &\text{ if } n > 1 \end{cases}$$
I used the repeated substitution method and I found that the pattern for the coefficient of n is equal to the following: $$f(1) = -56$$ $$f(n) = 9^{n-1} \times (-56) + f(n-1)$$
I tried to find the closed form of $f(n) = 9^{n-1} \times (-56) + f(n-1)$, but it just got more and more confusing. I believe it may be a series of some sort. Is there a way to find a closed form for this?
Thank you!