First I have to prove that:
If $g\circ f$ injective $\implies$ $f$ injective or $g$ injective
And real functions that improve:
If $g\circ f$ injective $\implies$ $f$ injective and $g$ injective
I was thinking about $\sqrt x$ and $x^2$, so that $g\circ f$ will be bijective, but I don't really sure about that example
Proof for: If $g\circ f$ injective $\implies$ $f$ injective
If not, there is x and y such that $x\ne y$ but $f(x)= f(y).$ So $g \circ f(x)= g \circ f(y).$