I thought that the Substitution rule required for the part equal to $du$ to be in the integral somewhere. However I came across this one and am not entirely sure why the solution is that way. Link to Integral Calculator
$$ \int \frac{1}{\sqrt[3]{x} + x} dx $$
The calculator uses substitution
$$ u = \sqrt[3]{x} $$ $$ du = (\sqrt[3]{x})'dx = \frac{1}{3x^{2/3}} \Rightarrow \frac{dx}{x^{3/2}} = 3du $$
Now if we extract $x^{2/3}$ from the denominator it makes sense to me and we arrive at
$$ \int \frac{1}{x^{2/3}(x + x^{1/3})}dx $$
However the integral calculator i linked does something else
$$ \int \frac{1}{\sqrt[3]{x} + x}dx = \int \frac{3u^2}{u^3 + u}du $$
and then it continues with the solution. My missing point is the $ 3u^2 $ part. Where did that come from ? I understand that its the derivative of $ u^3 $ but how did we just plug it in there? I am probably missing something super obvious, but was not able to wrap my head around it.