The error term, $R_N$, is given by $$R_N = \frac{f^{(N+1)}(c)}{(N+1)!} x^{N+1}$$ for some $c$ on the interval $[0,1]$.
Here's an identity that will come in handy: $$\frac{d^N}{dx^N} (x e^{-x}) = (-1)^N e^{-x} (x-N)$$
In our case $N=3$ and according to Lagrange's error term we need the $N+1$ derivative of $f$, i.e. $$\frac{d^4}{dx^4} (x e^{-x}) = e^{-x} (x-4)$$
Thus the error is given by: $$R_N = \frac{f^{(N+1)}(c)}{(N+1)!} x^{N+1} = \frac{x^4}{4!} \frac{d^4}{dx^4} (x e^{-x}) = \frac{x^4}{4!} e^{-c} (c-4)$$ for some $c$ and $x$ in $[0,1]$.
We want to find the largest possible value this error can have on the interval $[0,1]$. Looking at the equation of $R_N$ we see this will happen when the numerator is maximized and the denominator is minimized, i.e. $x=1$ and $c=0$. Thus an upper bound for $|R_N|$ is: $$|R_N| \leq \left|\frac{1}{3!} \right| = \frac{1}{6} $$