$\displaystyle \int xe^{-x} ~dx $

I came up with $\displaystyle -xe^{-x} - e^{-x} $ for the answer.

To get there I took $\displaystyle -xe^{-x} - \int -e^{-x} ~dx $ after evaluating that integral I came up with my answer.

I don't know if its right.