a) \(A=\left|x-5\right|+\left|x-7\right|=\left|x-5\right|+\left|7-x\right|\ge\left|x-5+7-x\right|=\left|2\right|=2\)
\(minA=2\Leftrightarrow\)\(7\ge x\ge5\)
b) \(B=\left|2x+1\right|+\left|2x-2\right|=\left|2x+1\right|+\left|2-2x\right|\ge\left|2x+1+2-2x\right|=\left|3\right|=3\)
\(minB=3\Leftrightarrow1\ge x\ge-\dfrac{1}{2}\)