Verify whether the given equation (y=x^2+4x) is a solution to this given equation [(xdy/dx)=x^2+y]

y=x^2+4x

dy/dx = 2x + 4

checking in
(xdy/dx)=x^2+y

LS = x(2x+4)
= 2x^2 + 4x

RS = x^2 + x^2 + 4x
= 2x^2 + 4x
= LS

Yes, it is