Answer
$x^{2}+7x+10=0$
Work Step by Step
$x=-2$ or $ x=-5\qquad$....get $0$'s on one side.
$x+2=0$ or $ x+5=0\qquad$....Use the principle of zero products (multiplying). The solutions of this equation are $-2$ and $-5$.
$(x+2)(x+5)=0\qquad$...use the FOIL method to multiply.
$ x^{2}+5x+2x+10=0\qquad$...combine like terms.
$x^{2}+7x+10=0$