In each part of this problem, give examples of sets A,B,C and functions f : A → B and g : B → C satisfying the indicated properties.
a) g is not injective but g ◦ f is injective.
b) f is not surjective but g ◦ f is surjective.
Suggestion: Work with sets having at most 3 elements.
For a.) Would F(1,2)=1 and G(1,2,3)=2,3 work?
For b.) Would F(1,2,3)=2,3 and G(1)=1 work?
Im looking for some feedback? And I cannot figure out the sets A,B,C?