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