Hi, I am trying to integrate this function, but do not know how to go past

Let

Therefore,

The X will not cancel, and I know that the answer, through Maple, is .

The command I used in maple is. Perhaps I have done this incorrect.Code:int(x*exp(-(x-theta)),x=theta..infinity);

Thank you!