We are given that $$I(m)=\int_{0}^{\pi} \ln\left(1-2m\cos (x)+m^2\right)\,dx.$$ I could see that there weren't any standard techniques to calculate this integral directly so I concluded that there must be some kind of reduction formula to be derived.
What I did was to apply the King property in definite integrals ie. $$\int_{a}^{b}f(x)\,dx=\int_{a}^{b}f(a+b-x)\,dx.$$
This gave me $$I(m)=\int_{0}^{\pi}\ln\left(1+2m\cos(x)+m^2\right)\,dx,$$ then I added the two expressions for $I(m)$ to get $$2I(m,x)=\int_{0}^{\pi}\ln\left(1-2m^2\cos(2x)+m^4\right)\,dx,$$ i.e.,$$2I(m,x)=I(m^2,2x)$$.
So I thought that this should give us the value of $I(9)/I(3)=2$ and that was the correct answer, too; but what bothers me is that the second expression has $2x$ instead of $x$. So shouldn't that cause a change of limits and thus a problem?