Wolfram Alpha provides following answer for the integral $\displaystyle\int \frac{xe^{-x}}{(ax-c)^N}dx\,$:
$$-e^{-\frac{c}{a}}a^{-N-1}\left(c\Gamma(1-N,x-\frac{c}{a})+a\Gamma(2-N,x-\frac{c}{a})\right)+Constant$$
I do not understand how does incomplete Gamma function comes in the answer. As far as I know the definition of incomplete Gamma function is some definite integral but how does it appears in the indefinite integral. I will be very thankful if somebody guide me how to reach to the above answer and how does the limits appear to give Gamma function in the answer.
Thanks in advance.