Category Theory/Definition, examples

Exercises

 * 1) If both $$f$$ and $$g$$ are set mappings such that $$f \circ g$$ is injective, prove that $$g$$ is injective.