# How do you simplify log5(x + 4) -log5(x + 1)?

I got as far as: $\log \left[\frac{x + 4}{x + 1}\right]$
$\log x - \log y = \log \left(\frac{x}{y}\right)$ to get:
$\log 5 \left(x + 4\right) - \log 5 \left(x + 1\right) = \log \left[\frac{\cancel{5} \left(x + 4\right)}{\cancel{5} \left(x + 1\right)}\right] = \log \left[\frac{x + 4}{x + 1}\right]$