Ok, under the assumption that the problem is

as opposed to
looking the the left side
25 = 5^2 so the left side can be written as

now, if you remember exponent rules, a power to a power, you just multiply them together
so it would be equal to this equation

now, since they share the same base (5)
you can jsut compare the exponents
2x= x-2
and then solve for x
trying to solve
requires the use of log i believe