Please help, need now , I’ll grant brainliest !! If correct

The problem is asking you to subtract g(x) from f(x).
So you must do (3x^5+6x^2-5)-(2x^4+7x^2-x+16)
Evaluate parenthenses: 3x^5+6x^2-5-2x^4-7x^2+x-16
Combine like terms and rearrange expression : 3x^5-2x^4-x^2+x-21
So your final answer is 3x^5-2x^4-x^2+x-21
Hope this helped and please mark as brainliest.
Edit: Fixed a minor error