The value of ∫x(1+xex)2(1+x)dx , is equal to
a. \log \left| \frac{x}{1+xe^x} \right| + \frac{1}{(1+xe^x)} + C
b. \log \left| \frac{xe^x}{1+xe^x} \right| + \frac{1}{1+xe^x} + C
c. \log \left| \frac{xe^x}{1+e^x} \right| + \frac{1}{1+xe^x} + C
d. None of the above