Given the equation:
$$\left(25^{x - \frac{3}{2}} - 12 \cdot 5^{x - 2}\right) + 7 = 0$$
or
$$\left(25^{x - \frac{3}{2}} - 12 \cdot 5^{x - 2}\right) + 7 = 0$$
Do replacement
$$v = 5^{x}$$
we get
$$\frac{v^{2}}{125} - \frac{12 v}{25} + 7 = 0$$
or
$$\frac{v^{2}}{125} - \frac{12 v}{25} + 7 = 0$$
This equation is of the form
a*v^2 + b*v + c = 0
A quadratic equation can be solved
using the discriminant.
The roots of the quadratic equation:
$$v_{1} = \frac{\sqrt{D} - b}{2 a}$$
$$v_{2} = \frac{- \sqrt{D} - b}{2 a}$$
where D = b^2 - 4*a*c - it is the discriminant.
Because
$$a = \frac{1}{125}$$
$$b = - \frac{12}{25}$$
$$c = 7$$
, then
D = b^2 - 4 * a * c =
(-12/25)^2 - 4 * (1/125) * (7) = 4/625
Because D > 0, then the equation has two roots.
v1 = (-b + sqrt(D)) / (2*a)
v2 = (-b - sqrt(D)) / (2*a)
or
$$v_{1} = 35$$
$$v_{2} = 25$$
do backward replacement
$$5^{x} = v$$
or
$$x = \frac{\log{\left(v \right)}}{\log{\left(5 \right)}}$$
The final answer
$$x_{1} = \frac{\log{\left(25 \right)}}{\log{\left(5 \right)}} = 2$$
$$x_{2} = \frac{\log{\left(35 \right)}}{\log{\left(5 \right)}} = 1 + \frac{\log{\left(7 \right)}}{\log{\left(5 \right)}}$$