You have the following function given in the exercise:
And the other function is:
You need to remember that this means that you must subtract the function g(x) from the function f(x):
It can also be expressed as following:
Then, you can set up that:
In order to simplify, it is important to remember the Sign rules for Multiplication:
Then, you can distributive the negative sign:
Finally, you need to add the like terms (which are defined as those terms that have the same variables and the same exponents):
The answer is: