Hello,
[tex]2^x = \exp(x\ln (2)) = 5^2\\\\\Leftrightarrow x\ln(2) = \ln(5^2)\\\\\Leftrightarrow \boxed{x = \frac{2\ln{5}}{\ln{2}}}[/tex]
Bye,
Thomas