với \(-1\le x\le3\) thì \(\left|x-3\right|=3-x\\ \left|x+1\right|=x+1\)
ta có phương trình:
\(5\left(x+1\right)-\left(3-x\right)=x+12\\ \Leftrightarrow5x+5-3+x-x-12=0\)
\(5x=10\\ \Leftrightarrow x=2\)
x=2 thõa mãn \(-1\le x\le3\) nên phương trình có tập nghiệm là S={2}