Answer
$$
2^{|x|} =8
$$
The solution of the given equation is
$$
x =3 \text { or } x=-3.
$$
Work Step by Step
$$
2^{|x|} =8
$$
Since the bases must be the same, write 8 as $2^{3 }$ giving
$$
\begin{aligned} 2^{|x|} &=8 \\ 2^{|x|} &=2^{3} \\|x| &=3 \\ x &=3 \text { or } x=-3 \end{aligned}
$$
So, the solution of the given equation is
$$
x =3 \text { or } x=-3.
$$