9758/2022/P1/Q08

8 (a) Find $\int \frac{2 x-1}{x^2+2 x+1} \mathrm{~d} x$.

[4]

(b) Find the exact value of $\int_0^2 \frac{|2 x-1|}{x^2+2 x+1} \mathrm{~d} x$.

[3]