The equation
Apply logarithm power property: .
Apply logarithm product property: .
Apply logarithm quotient property: .
Since .
.
Therefore, as a function of is .