This is an equation that is reducible to a quadratic, in this case by the substitution
to produce the quadratic
Watch out for these being concealed by using index laws, such as by posing the above question as
or ones like
![](https://latex.codecogs.com/png.latex?\bg_white 9^{x + 2} = 3 - 2(3^{x + 2}))
(which also uses
![](https://latex.codecogs.com/png.latex?\bg_white u = 3^x)
and gives only one solution,
![](https://latex.codecogs.com/png.latex?\bg_white x = -2)
)
or
![](https://latex.codecogs.com/png.latex?\bg_white 9^x - 3^x = \cfrac{1}{3^x} - \cfrac{1}{9^x})
(which is trickier, but also has only one solution,
![](https://latex.codecogs.com/png.latex?\bg_white x = 0)
).
I'll leave you to consider what substitution is needed for the second one.