The functions given in the question are

While

Find

Concept: To evaluate the solution above, we will use the formula below

Step 1: Substitute the values, we will have

Step 2: Expand the brackets and then collect similar terms

Hence,
(f-g)(x) = 2x³ + 6x² -8x + 1