Answer
$2q^{2}+3q+2$
Work Step by Step
Subtract vertically.
Line up like terms.
$\begin{array}{lllll}
4q^{2} & +10q & +7 & & \\
2q^{2} & +7q & +5 & & \\
-- & -- & -- & -- & subtract\\
2q^{2} & 3q & 2 & &
\end{array}$
Answer: $2q^{2}+3q+2$