<s>[INST] Solve this exponential equation: $3^{2x}+\left(\frac{1}{2}\right)^{-x} \cdot 3^{x+1}-2^{2x+2}=0$ I tried solving this equation $$3^{2x}+\left(\frac{1}{2}\right)^{-x} \cdot 3^{x+1}-2^{2x+2}=0$$ by taking the log of both sides, but with no results, what do I do? Sorry if this equation is very easy, I couldn't solve it...
 [/INST] Hint: This reduces to $$3^{2x} + 3\cdot 2^x \cdot 3^x - 4\cdot 2^{2x} = 0$$
If $a=3^x$ and $b=2^x$ then we get $$a^2 + 3ab - 4b^2 = 0.$$ 

More of a hint: You have $x = \log_3 a = \log_2 b$. So now you have two equations involving $a$ and $b$...
</s>