a: \(f\left(x\right)-2\cdot g\left(x\right)=-3\)
\(\Leftrightarrow\left|x-1\right|+1-2\left|x-2\right|-4=-3\)
\(\Leftrightarrow\left|x-1\right|-2\left|x-2\right|=0\)
=>|x-1|=|2x-4|
=>2x-4=x-1 hoặc 2x-4=-x+1
=>x=3 hoặc x=5/3
b: f(x)=g(f(2))
\(\Leftrightarrow\left|x-1\right|+1=g\left(\left|1-2\right|+1\right)=g\left(2\right)\)
=>|x-1|=1
=>x=2 hoặc x=0