I solved this , but I am not sure if I did in the right way.
$$2^{2x + 1} - 2^{x + 2} + 8 = 0$$
$$2^{x + 2} - 2^{2x + 2} = 8$$
$$\log_22^{x + 2} - \log_22^{2x + 2} = \log_28$$
$$x + 2- 2x - 2 = 3$$
solving for $x$:
$$x = -2$$
any feedback would be appreciated.
You can do it without including logarithms . Just take $t = 2^x$. It will become a quadratic in $t$ solve for $t$ . If $t$ has any negative value , neglect it beacuse $t> 0$ .
$t^2-2t+4 = 0 $ which has complex roots and hence there is no solution for $x$ in the real domain .