[tex]5^{3n}=125[/tex]
[tex]5^{3n}=5^3[/tex]
[tex]\implies 3n=3[/tex]
Note that this step technically use logarithmic properties, but skips using the language of logarithms by just observing that the bases are the same, so the exponents must also be equal.
Then dividing both sides by 3 gives the solution, [tex]n=1[/tex].