\(P\left(1\right)=a+b+c=0\)
\(P\left(-1\right)=a\cdot\left(-1\right)^2+b\left(-1\right)+c=6\)
\(\Leftrightarrow P\left(-1\right)=a-b+c=6\)
\(P\left(-2\right)=a\cdot\left(-2\right)^2+b\left(-2\right)+c=3\)
\(\Leftrightarrow P\left(-2\right)=4a-2b+c=3\)
\(\text{Khi đó : }\)
\(a=-2\)
\(b=-3\)
\(c=5\)
\(P\left(x\right)=-2x^2-3x+5\)