You just need to learn that the definition of logarithm is is equivalent to
is equivalent to
is equivalent to , or
is equivalent to , or Edwin