\(N=4x^2-4x+1-3\left|2x-1\right|+2\)
\(N=\left(2x-1\right)^2-3\left|2x-1\right|+2\)
\(N=\left|2x-1\right|^2-3\left|2x-1\right|+\frac{9}{4}-\frac{1}{4}\)
\(N=\left(\left|2x-1\right|-\frac{3}{2}\right)^2-\frac{1}{4}\ge-\frac{1}{4}\)
\(\Rightarrow N_{min}=-\frac{1}{4}\) khi \(\left|2x-1\right|=\frac{3}{2}\Rightarrow\left[{}\begin{matrix}x=\frac{5}{4}\\x=-\frac{1}{4}\end{matrix}\right.\)