I was faced by this question some time ago, and it keeps me thinking:
If $g\circ f$ is onto, and $g$ is into, prove that $f$ is onto.
In this link we can find something very close, but with $g$ being $1-1$, which is not my case here (if it was, it would be easy). Then, I was thinking if this is necessarilly true, trying to find some counter example.
Any help would be very appreciated! Thanks in advance!