1 = Ax(x - 2) + B(x - 2) + Cx2
Let x = 0, and this gives B = -1/2.
Let x = 2, and this gives C = 1/4.
Comparing coefficients for x2, we obtain A + C = 0.
So A = -1/4.
Therefore
So the integral required is: