If f and f ◦ g are onto, does it follow that g is onto? Justify your answer

If f and f ◦ g are onto, does it follow that g is onto? Justify your answer.