3. Evaluate \[\int_{1}^{2e} \frac{(1+\ln x)^2}{x} dx.\]