You can put this solution on YOUR website! The logarithm of a product of two number is the sum of the logarithms of both numbers:
log(xy)=log(x)+log(y)
and otherwise(similary):
log(x/y)=log(x)-log(y)
Then:
log(xy^2)=log(x)+log(y^2)
log(xy^2)/log(y)=log(x)+log(y^2)-log(y)