At a quick glance i am fairly sure you cannot put xe^x in the form
x= .....
the e^x and the x are not reconcilable.
You could turn it into a differential equation -> y' - y - e^x = 0 but this does not really help!?!
I could however be wrong, it has been known to happen once or twice (an hour).