Let's start multiplying the original fraction (up and down) by $$x^2-x+1-\sqrt{x^4-4x^3+9x^2-10x+5}$$
to obtain
$$\frac{1}{2}\int^{2}_{0}\frac{x^2-x+1-\sqrt{x^4-4x^3+9x^2-10x+5}}{x^3- 3 x^2+4 x -2}dx$$
Now, taking acount:
- $x^2-x+1=(x-1)^2+(x-1)+1$
- $x^4-4x^3+9x^2-10x+5=(x-1)^4+3(x-1)^2+1$
- $ x^3- 3 x^2+4 x -2 =(x-1)((x-1)^2+1)$
we perfom the change $x-1=t$ to transform our integral as follow
$$\frac{1}{2}\int^{1}_{-1}\frac{t^2+t+1-\sqrt{t^4+3t^2+1}}{t(t^2+1)}dt=\frac{1}{2}\int_{-1}^1\frac{t}{t^2+1}+\frac{1}{t^2+1}+\frac{1}{t(t^2+1)}-\frac{\sqrt{t^4+3t^2+1}}{t(t^2+1)}dt$$
As first, third and fourth fraction are odd function over symmetric interval, they vanishes. Only rest the second fraction and then our integral reads
$$\int^{2}_{0}\frac{1}{x^2-x+1+\sqrt{x^4-4x^3+9x^2-10x+5}}dx=\frac{1}{2}\int_{-1}^1\frac{1}{t^2+1}dt=\frac{\pi}{4}$$
Thus
Finding value of $$\frac{8}{\pi}\int^{2}_{0}\frac{1}{x^2-x+1+\sqrt{x^4-4x^3+9x^2-10x+5}}=2$$