gấp là bao nhiêu
+) Với x < 2 thì \(\hept{\begin{cases}\left|x-2\right|=2-x\\\left|x-5\right|=5-x\end{cases}}\)
\(pt\Leftrightarrow\left(2-x\right)+\left(5-x\right)=21\)
\(\Leftrightarrow7-2x=21\Leftrightarrow2x=-14\Leftrightarrow x=-7\left(tm\right)\)
+) Với \(2\le x\le5\)thì \(\hept{\begin{cases}\left|x-2\right|=x-2\\\left|x-5\right|=5-x\end{cases}}\)
\(pt\Leftrightarrow\left(x-2\right)+\left(5-x\right)=21\)
\(\Leftrightarrow3=21\left(L\right)\)
+) Với \(x< 5\)thì \(\hept{\begin{cases}\left|x-2\right|=x-2\\\left|x-5\right|=x-5\end{cases}}\)
\(pt\Leftrightarrow\left(x-2\right)+\left(x-5\right)=21\)
\(\Leftrightarrow2x-7=21\Leftrightarrow2x=28\Leftrightarrow x=14\left(L\right)\)
Vậy x = -7