\(a\ne0\)
\(\left\{{}\begin{matrix}a+b+c=4\\-\frac{b}{2a}=-1\\4ac-b^2=0\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}a+b+c=4\\b=2a\\4ac-b^2=0\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}b=2a\\3a+c=4\\4ac-4a^2=0\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}a=c=1\\b=2\end{matrix}\right.\)