Given the equation:
$$- 3^{x + 2} + 9^{x} + 14 = 0$$
or
$$\left(- 3^{x + 2} + 9^{x} + 14\right) + 0 = 0$$
Do replacement
$$v = 3^{x}$$
we get
$$v^{2} - 9 v + 14 = 0$$
or
$$v^{2} - 9 v + 14 = 0$$
This equation is of the form
$$a\ v^2 + b\ v + c = 0$$
A quadratic equation can be solved using the discriminant
The roots of the quadratic equation:
$$v_{1} = \frac{\sqrt{D} - b}{2 a}$$
$$v_{2} = \frac{- \sqrt{D} - b}{2 a}$$
where $D = b^2 - 4 a c$ is the discriminant.
Because
$$a = 1$$
$$b = -9$$
$$c = 14$$
, then
$$D = b^2 - 4\ a\ c = $$
$$\left(-1\right) 1 \cdot 4 \cdot 14 + \left(-9\right)^{2} = 25$$
Because D > 0, then the equation has two roots.
$$v_1 = \frac{(-b + \sqrt{D})}{2 a}$$
$$v_2 = \frac{(-b - \sqrt{D})}{2 a}$$
or
$$v_{1} = 7$$
Simplify$$v_{2} = 2$$
Simplifydo backward replacement
$$3^{x} = v$$
or
$$x = \frac{\log{\left(v \right)}}{\log{\left(3 \right)}}$$
The final answer
$$x_{1} = \frac{\log{\left(2 \right)}}{\log{\left(3 \right)}} = \frac{\log{\left(2 \right)}}{\log{\left(3 \right)}}$$
$$x_{2} = \frac{\log{\left(7 \right)}}{\log{\left(3 \right)}} = \frac{\log{\left(7 \right)}}{\log{\left(3 \right)}}$$