The set of real numbers $x$ for which $\dfrac1{x-1}+\dfrac1{x-2}\ge2$ is the union of intervals of the form $a<x\le b$. What is the sum of the lengths of these intervals?
The left side is decreasing on each interval between poles: it is negative for $x<1$, falls from $+\infty$ to $-\infty$ on $(1,2)$, and from $+\infty$ toward $0$ on $(2,\infty)$. So the solution set is $(1,r_1]\cup(2,r_2]$, where $r_1,r_2$ solve $\frac1{x-1}+\frac1{x-2}=2$.
Clearing denominators: $(2x-3)=2(x-1)(x-2)$, i.e.\ $2x^2-8x+7=0$, so $r_1+r_2=4$.