Change of base for logarithms - Problem type 1