Answer
$x=4$
Work Step by Step
Make both sides have a base of 3 by writing $9$ as $3^2$ to obtain:
$3^{2x}=(3^2)^4
\\3^{2x}=3^{2 \cdot 4}
\\3^{2x}=3^8$
Use the rule "If $a^x=a^y$, then $x=y$" to obtain:
$2x=8
\\x=\frac{8}{2}
\\x=4$