2=3^{x-1}+3^{x-2}<=>2=3^{x-2}(3^{x-1-x+2}+1)<=>\\<=>2=3^{x-2}(3+1)<=>2=3^{x-2}*4<=>1=3^{x-2}*2<=<\frac{1}{2} =3^{x-2}<=>x-2=-log_3(2)<=>x=-log_3(2)+2" alt="2-3^{x-2}=3^{x-1}<=>2=3^{x-1}+3^{x-2}<=>2=3^{x-2}(3^{x-1-x+2}+1)<=>\\<=>2=3^{x-2}(3+1)<=>2=3^{x-2}*4<=>1=3^{x-2}*2<=<\frac{1}{2} =3^{x-2}<=>x-2=-log_3(2)<=>x=-log_3(2)+2" align="absmiddle" class="latex-formula">