If $f:S\to T$ and $g:R\to S$ are functions such that $f \circ g$ is injective, then prove that $g$ must be injective.
I dont know how to prove it. I only know that composition of two injective functions is an injective function and composition of two surjective functions is surjective.