The original problem I have says:
Rewrite $3\ln (x - 5) - 2\ln (x + 4) + 3\ln (x + 5) - 2\ln (x - 4)$ as a single logarithm using the rules for logarithms.
But the answer and explanation both use $\log_8$ and no $\ln$.
I'm having trouble with how they came up with the $\log_8$. A picture is included below:

Note: You can replace each $\ln$ with (the same) logarithm to any base, and the result will be identical except for the base. In other words, I could replace every $\ln$ with a $\log_8$ in the answer below and it would still be valid.
You start with this expression:
$$3\ln (x - 5) - 2\ln (x + 4) + 3\ln (x + 5) - 2\ln (x - 4)$$
First use the power rule on each term:
$$\ln [(x - 5)^3] - \ln [(x + 4)^2] + \ln [(x + 5)^3] - \ln [(x - 4)^2]$$
Then use the product and quotient rule:
$$\ln\frac{(x-5)^3(x+5)^3}{(x-4)^2(x+4)^2}.$$