Change the exponential statement 5^x =125 into an equivalent logarithmic statement.

5^x =125 <----> log5 125 = x

I had my students memorize this pattern,

2^3 = 8 <---> log28 = 3