Answer
$x=9$ or $x=\displaystyle \frac{1}{9}$
Work Step by Step
For $x\gt 0$ and $a$ a positive constant other than 1,
$\log_{a}x$ is the exponent to which $a$ must be raised in order to get $x$.
Thus, $\log_{a}x=m$ means $a^{m}=x$
---
The absolute brackets mean that
$\left.\begin{array}{lllll}
\log_{3}x=2 & & or & & \log_{3}x=-2\\
3^{2}=x & & & & 3^{-2}=x
\end{array}\right.$
$x=9$ or $x=\displaystyle \frac{1}{9}$