
To subtract g(x) from f(x), we simply have to plug in the given values of the function written above.

Then, solve.
First, eliminate the parenthesis by distributing the symbol/number outside of it to the numbers inside the parenthesis.

Next, combine similar terms. We have 2x + 7x and -3 + 3.

Lastly, arrange the terms according to highest degree (highest exponent).

Hence, f(x) - g(x) = -6x² + 9x.