Answer
$2x^2-2x+19$
Work Step by Step
$(2x^2+3x+12)-(5x-7)$
First we change the sign of each term of the second polynomial, and then we add the result to the first polynomial.
$=2x^2+3x+12-5x+7$
Group like terms
$=2x^2+3x-5x+7+12$
Combine like terms
$=2x^2-2x+19$