Your general solution is for the homogeneous equation
$3x_{n+2}-x_{n+1}-2x_n=0.$
To solve your given inhomogeneous equation
$3x_{n+2}-x_{n+1}-2x_n=5,$
you need to add one or more fixed terms so that when the initial conditions work properly. We call these fixed terms a particular solution of the inhomogeneous equation.
There are several methods for finding such a particular solution. Here I will look into a "brute force" approach that reveals the origin of such terms.
Given your original equation
$3x_{n+2}-x_{n+1}-2x_n=5,$
you can increment the index by one unit to get
$3x_{n+3}-x_{n+2}-2x_{n+1}=5.$
Now you can take the difference between these equations and get
$3x_{n+3}-4_{n+2}-x_{n+1}+2x_n=0.$
Now the equation is homogeneous and you can solve it by the standard method for homogeneous equations with constant coefficients. The indicial roots you found before, $\lambda=1$ and $\lambda=-2/3$, carry over from your original second-order equation. Factoring those out you find a second root $\lambda=1$ that was introduced by taking the difference.
With the double indicial root $\lambda=1$ you have a general solution to your modified equation:
$x_n = A(-2/3)^n+B\color{blue}{+Cn}$
versus your original homogeneous solution
$x_n = A(-2/3)^n+B.$
The blue term contains the extra piece you need for the original inhomogenous equation, the particular solution you need for that equation. To wit, the equation
$3x_{n+2}-x_{n+1}-2x_n=5$
will have a solution of the form
$x_n = A(-1/3)^n+B+Cn$
for some value of $C$. You can find this value of $C$ by putting in your initial conditions $x_0=a_0, x_1=a_1$; you find that for all such initial conditions the equation holds by rendering
$\color{blue}{C=1}.$
So your solution with the particular term included is
$\color{blue}{x_n = A(-2/3)^n+B+n},$
and you get $A$ and $B$ if you are given initial values for $x_0$ and $x_1$.