Hello, I need some assistance with this homework question please for precalculusHW Q28

Given:
[tex]5^{-x}=125[/tex]Find-: The solution of expression.
Sol:
[tex]\begin{gathered} 5^{-x}=125 \\ \end{gathered}[/tex]125 is 5 power of 3 then:
[tex]\begin{gathered} 5^{-x}=125 \\ \\ 5^{-x}=5^3 \end{gathered}[/tex]So, the value of "x" is:
[tex]\begin{gathered} 5^{-x}=5^3 \\ \\ -x=3 \\ \\ x=-3 \end{gathered}[/tex]The value of "x" is -3.