QuestionShareEvaluate the determinant $\left|\begin{array}{cc}x^2-x+1 & x-1 \\ x+1 & x+1\end{array}\right|$