Solving the exponential equation: $3 \cdot 2^{2x+2} - 35 \cdot 6^x + 2 \cdot 9^{x+1} = 0$ I have this exponential equation that I don't know how to solve:
$3 \cdot 2^{2x+2} - 35 \cdot 6^x + 2 \cdot 9^{x+1} = 0$ with $x \in \mathbb{R}$
I tried to factor out a term, but it does not help. Also, I noticed that:
$2 \cdot 9^{x+1} = 2 \cdot 3^{2x+2}$
and tried to write the polynomial as a binomial square, without success.
I know I should solve it using logarithm, but I don't see how to continue.  
EDIT: WolframAlpha factors it as: $(3 \cdot 2^x - 2 \cdot 3^x)(2^{x+2} - 3^{x+2}) = 0$ and then the solution is straightforward. Any hint about how to reach that?

$$
\begin{eqnarray}
0 &=& 3 \cdot 2^{2x+2} - 35 \cdot 6^x + 2 \cdot 9^{x+1}
\\&=& 12 \cdot (2^x)^2 - 35 \cdot (2^x3^x) + 18 \cdot (3^x)^2
\\&=& 12 t^2 - 35 st + 18 s^2
\qquad\text{for}\qquad s=3^x,~t=2^x
\\&=& (3t - 2s)(4t - 9s)
\\
\implies&&
  s=\frac32t \quad\text{or}\quad
  s=\frac49t
\\&& s=\left(\frac23\right)^\delta t
  \quad\text{for}
  \quad\delta=\frac{1\pm3}{2}=-1~\text{or}~2
\\&& 3^x=\left(\frac23\right)^\delta 2^x
\\&& 1=\left(\frac23\right)^{x+\delta}
\\&& 0=(x+\delta)\log\left(\frac23\right)
\\&& x+\delta=0
\\&& x=-\delta=-\frac{1\pm3}{2}=\boxed{~1~\text{or}~-2~}
\end{eqnarray}
$$
To make the factorization in the fourth line,
from the signs of the coefficients $12,-35,18$,
we can see that we need to find
a combination of the factors
from a row on the left
and a row on the right
$$
\begin{eqnarray}
   1 \cdot 12 &\quad& 1 \cdot 18
\\ 2 \cdot  6 &\quad& 2 \cdot  9
\\ 3 \cdot  4 &\quad& 3 \cdot  6
\end{eqnarray}
$$
so that a sum of the products
(either of the first numbers and the second numbers,
or of the first numbers with the second numbers)
is $35$. So taking $3 \cdot 4$ for $12$ and $2 \cdot 9$ for $18$,
we can obtain $2\cdot 4+3\cdot 9=8+27=35$ to get the factors above.
