The integral of  xex is xex – ex  +C  , where C is a constant of integration. 1/e-1 does not figure in here.  Please look into the problem again to see if something more is required to be done  besides simple integration.

 

                                                                            ****