As far as I know, the derivative of $y$ is defined as:
$$f'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}h = \frac{dy}{dx}$$
So $\frac{dy}{dx}$ is a limit, not a fraction of real numbers. I often read expressions like:
$$dy = f'(x)dx$$
How do we go from $f'(x) = \frac{dy}{dx}$ to $dy = f'(x)dx$? Clearly not multiplying both sides for $dx$.
The answer from the linked question says that:
\begin{align*} \frac{dy}{dx} &= \frac{dy}{du} \frac{du}{dx} \text{(chain rule)} \\ \frac{dy}{dx} &= \frac1{\frac{dx}{dy}} \text{(Inverse Function theorem)} \end{align*}
This can help me transforming $f'(x) = \frac{dy}{dx}$ to $\frac{dy}{du} = f'(x) \frac{dx}{du}$.
Then how can I proceed getting rid of $du$?