$\displaystyle y = \frac{1}{x} \int_1^x\frac {e^t}{t} dt$ , $\displaystyle x^2y' + xy = e^x$

I tried to take the derivative of y equation to get the right equation but I'm keep getting $\displaystyle (x^2)y' = \frac{-e^x}{x}$

Can someone explain this why I can't get to $\displaystyle (x^2)y' + xy = e^x$