\frac{d(dy/dx)}{dx}(x^2+1) = 2x.(dy/dx)
\Rightarrow \frac{d(dy/dx)}{dy/dx} = \frac{2x}{x^2+1}dx
\Rightarrow ln(dy/dx) = lnk(x^2+1)
\Rightarrow (dy/dx) = k(x^2+1)
\Rightarrow y = k(x^3/3+x) + c
\frac{d(dy/dx)}{dx}(x^2+1) = 2x.(dy/dx)
\Rightarrow \frac{d(dy/dx)}{dy/dx} = \frac{2x}{x^2+1}dx
\Rightarrow ln(dy/dx) = lnk(x^2+1)
\Rightarrow (dy/dx) = k(x^2+1)
\Rightarrow y = k(x^3/3+x) + c