QuestionShareEvaluate the following integrals:$\int\frac{(\text{x}-1)^2}{\text{x}^2+2\text{x}+2}\text{ dx}$