If $p=\log_63$ and $q=\log_65$, what is $\log_{45}12?$
My try: We can write $\log_{45}12$ as $$\log_{45}12=\dfrac{\log_612}{\log_645}=\dfrac{\log_63+\log_64}{\log_65+\log_69}=\dfrac{\log_63+2\log_62}{\log_65+2\log_63}$$ How do I find $\log_62$ with $p$ and $q$?
Another approach: with $ \ 6^p \ = \ 3 \ $ and $ \ 6^q \ = \ 5 \ \ , \ $ we wish to find an expression for $ \ x \ $ in terms of $ \ p \ $ and $ \ q \ $ such that $ \ 45^x \ = \ 12 \ \ . \ $ We may write $$ (3^2 · 5)^x \ \ = \ \ 2^2 · 3 \ \ \Rightarrow \ \ 2^{2x} · 3^{2x} · 5^x \ \ = \ \ 2^{2x} · 2^2 · 3 \ \ \Rightarrow \ \ 6^{2x} · 5^x \ \ = \ \ \left(\frac63 \right)^{2x+2}· 3 $$ $$ \Rightarrow \ \ 6^{2x} · (6^q)^x \ \ = \ \ 6^{2x + 2} · (6^p)^{-2x - 2} · (6^p) $$ $$ \Rightarrow \ \ 6^{ qx} \ \ = \ \ 6^{ \ 2 \ + \ p \ - \ 2px \ - \ 2p} \ \ . \ $$
The resulting value for $ \ x \ $ does give us $ \ 45^x \ = \ 12 \ \ . \ $