But, i got lost when i saw a question

log to the base of 16 (x) + log to the base of 4 (x) + log to the base of 2 (x) = 7

how would you go about solving this question?

I thought about re-defining every single term of those logs in to (log of b)/(log of a) shape, but it doesnt give me a whole number answer (answer is 16)