i have to show the following function, without abs. value:

$\displaystyle y=x{{\rm e}^{ \left| x \right| }}$

and then i have to look it its differentiable at the critical point

somehow i must have a mistake here... hard to explain what i did

any help appreciated