Let $X$ be a set, and let $f:X \longrightarrow X$ and $g:X\longrightarrow X$. Can you get a composition of $f$ and $g$ ($f\circ g$) that is onto (surjective), if $g$ is not onto?
I can't seem to find an example of such a function.
Thank you for your help.