a)
1/2<3
\(f\left(\dfrac{1}{2}\right)=12-4.\dfrac{1}{2}=12-2=10\)
-2<3
\(f\left(-2\right)=12-4\left(-2\right)=12+8=20\)
b)
\(f\left(x\right)=4x-12\\ \Rightarrow4x-12=6\\ \Rightarrow x=\dfrac{9}{2}\left(TM\right)\)
\(f\left(x\right)=12-4x\\ \Rightarrow12-4x=6\\ \Rightarrow x=\dfrac{3}{2}\left(TM\right)\)