Assume $f:A→B$ and $g:B→C$ be the two functions ?
Then, if $g∘f:A→C$ is onto and $g:B→C$ is one-one ? What can be said about $f$ ?
My try :
Let me suppose $f$ as onto so, I can say $f(x) = y$ where $x∈A$ and $y∈B$.
Its also given that $g$ is onto, then $g(y)∈C$.
$g∘f:A→C$ is onto, then $g∘f(x) = g(y)$ => $f(x) = y$
Hence, what I assumed was right $f$ as onto.
Have I got it right ? Is there anything extra that can be implied from above ?