Step 1: Understanding the Concept
The integrand suggests the product rule applied to \(x\,e^{x+1/x}\).
Step 2: Differentiate the Guess
\(\dfrac{d}{dx}\left(xe^{x+1/x}\right) = e^{x+1/x} + x\,e^{x+1/x}\left(1 - \dfrac{1}{x^2}\right)\)
\(= e^{x+1/x}\left(1 + x - \dfrac{1}{x}\right)\)
Step 3: Conclude
This is exactly the integrand, so the integral is \(x e^{x+1/x} + c\).
Final Answer:
The integral equals x e^(x + 1/x) + c.
\[ \boxed{\text{(D) }x e^{x+\frac{1}{x}}+c} \]