7x - (25x^2 + 12x) distribute the negative outside the parentheses over the terms inside
7x - 25x^2 -12x combine like terms
-5x - 25x^2