If we convert the denominator of the integral into a perfect square, ∫1x2 − x + 1dx then the correct integral will be