TeX source:
2 \log x-4 \log (x+5)+\frac{1}{x} \log (3 x+5)=\log \left(x^{2}\right)-\log (x+5)^{4}+\log \left((3 x+5)^{x^{-1}}\right)