Consider the sequence defined by $$ \begin{cases} t_0=5\\ t_1=9\\ t_n=6t_{n-1}-9t_{n-2} & \text{if }n\ge 2 \end{cases} .$$ Find a closed form for $t_n$.
Your response should be a formula in terms of $n$, and should not contain terms such as $t_n,$ $t_{n-1},$ and so on. Do not include $``t_n=\text{''}$ in your response.
I tried forming a sequence by taking some values for $n$ and finding $t_n$. Once that was done, I moved on to find some pattern between $n$ and $t_n$ but couldn't find any. Here's the sequence:
$$\begin{array}{c || c *5{| c}} n & 0 & 1 & 2 & 3 & 4 \\ \hline t_n & 5 & 9 & 9 & -27 & -243 \end{array}$$
What am I suppose to do?
Hint. Make the ansatz $$t_n=q^n$$ and for your work: the solution is given by $$t_n=3^n(5-2n)$$