the integration factor i mentioned earlier, e^(int of P(x) dx), is then multiplied on both sides of the differential equation we reformatted to match the standard form.
in this case it would be x^2 times dy/dx + x^2 times 2y/x = x^2 times x (we have multiplied x^2 to every term), which simplifies into x^2 dy/dx + 2xy = x^3
from there we find what the left side would be the derivative of:
d/dx of yx^2 would be the left side, since it would become x^2 + 2xy (use the concepts of chain, product rule)
so it becomes d(yx^2)/dx = x^3, and integrating both sides becomes
yx^2 = x^4/4 + C, simplifying into y = x^2/4 + C/x^2
plug in initial values, and there you go