4f^2-g+f^2+2g
Collect f terms,
5f^2-g+2g
Collect g terms,
5f^2+g
Et viola
Hope this helps :)
1.6m questions
2.0m answers