We are given this linear recurrence relation:
$$U_n=3\cdot U_{n-1}-2\cdot U_{n-2}$$
"Guess" that $U_n = x^n$ is a solution and plug into the recurrence relation:
$$ x^n = 3x^{n-1} - 2x^{n-2} $$
Divide both sides by $x^{n-2}$, assuming $x \ne 0$:
$$ x^2 = 3x - 2 $$
Which is the characteristic equation with roots $1$ and $2$.
Now suppose that the two initial conditions are $U_0=A$ and $U_1=B$.
How can I plug them into the original LRE to obtain the general and particular solution of it ?