If $y = \ln x$ then $\dfrac{dy}{dx} = \dfrac 1 x$. That's not a "shortcut"; that is the derivative of this function.
Recall that $\ln(5x) = \ln 5 + \ln x$, so $\dfrac d {dx}\ln(5x) = \dfrac d{dx} \ln 5 + \dfrac d {dx} \ln x$, and $\dfrac d {dx}\ln 5 = 0$ since $\ln 5$ is a constant, i.e. $\ln 5$ does not change as $x$ changes.
The chain rule can be stated in the form $\dfrac{dy}{dx} = \dfrac{dy}{du}\,\dfrac{du}{dx}$. For example, if we have $y=(x^3+8x+5)^{36}$, we can write
\begin{align}
y = u^{36}, & & u = x^3 + 8x+5 \\[10pt]
\frac{dy}{du} = 36u^{35}, & & \frac{du}{dx} = 3x^2 + 8,
\end{align}
so
$$
\frac{dy}{dx} = 36u^{35}\cdot (3x^2+8) = 36(x^3+8x+5)^{35}(3x^2+8).
$$
Now apply this in annother case: $y=\ln(x^3+8x+5)$. We have
\begin{align}
y = \ln u, & & u = x^3+8x+5 \\[10pt]
\frac{dy}{du} = \frac 1 u, & & \frac{du}{dx} = 3x^3+8
\end{align}
so
$$
\frac{dy}{dx} = \frac 1 u \cdot (3x^2+8) = \frac 1{x^3+8x+5} \cdot (3x^2+8).
$$