As far as I understand A)
Answer:
Literally take your f(x) and - your g(x)
(x^2+9x+18) - (x + 6)
Remember to distribute the negative sign.
Maybe it’s y=1x-2. I hope this helps since we have no clue what the x is in the question we just assume it’s own