I just took a test and i think i screwed up I got the derivative at x=2 to be 0..... F'(x)= 2x*e(2-x)-x^2*e^(2-x) that's what i got for the derivative but i dont think its correct :(