Y' = ((x^2 - 8x + 8) * e^(2 - x) )' =
= (x^2 - 8x + 8)' e^(2 - x) + (e^(2 - x))' (x^2 - 8x + 8) =
= (2x - 8) e^(2 - x) + e^(2 - x) (2 - x)' (x^2 - 8x + 8) =
= (2x - 8) e^(2 - x) - e^(2 - x) (x^2 - 8x + 8) =
= e^(2 - x) (2x - 8 - x^2 + 8x - 8) =
= e^(2 - x) ( - x^2 + 10x - 16)