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