Answer:
a = -1
Explanation:
The sign of a number raised to an even power is irrelevant. That means we can rewrite (-25)² as (-5)⁴. Doing so lets us combine the factors like so ...
Here, we used the rule of exponents ...
(a^b)(a^c) = a^(b+c)
_____
The business of "equating exponents" is equivalent to taking logarithms. In general, the logarithm of a number to a negative base is not defined. However, for the case of integer exponents we have here, there is no problem with doing what we did.
_____
Check of the answer
(-5)^1 × (-25)^2 = (-5)^5
-5 × 625 = -3125 . . . . true