If $f$ is injective and $g$ is not injective, $g\circ f$ is not injective?
If $f$ is surjective and $g$ is not surjective, $g\circ f$ is not surjective?
If $f$ is injective and $g$ is not injective, $g\circ f$ is not injective?
If $f$ is surjective and $g$ is not surjective, $g\circ f$ is not surjective?
Hint for the 1st question: $g$ can be injective in a smaller subset. Hint for the 2nd question: apply the definition.
What you conjectured in the comments is correct: