A log is an exponent. The log of a number to a base is the exponent you need to raise the base to to get the number. For exapmple, what is the log base 2 of 8? That is the same as asking "what exponent do you raise 2 to get 8?" The answer here is 3 since 2^3 = 8, so log(base 2) 8 = 3.
Now let's look at your problem. 5 is the base. 3 is the exponent, so 3 is the log. x is the number.

In general,
