\(P=-\left(x^2+4x-3\right)\)
\(=-\left(x^2+2.x.2+4-7\right)\)
\(=-\left(\left(x+2\right)^2-7\right)\)
\(=7-\left(x+2\right)^2\ge7\)
Max \(P=7\Leftrightarrow x+2=0\Rightarrow x=-2\)
P=−(x2+4x−3)
=−(x2+2.x.2+4−7)
=−((x+2)2−7)
=7−(x+2)2≥7
Max P=7⇔x+2=0⇒x=−2