Let A, B, C be sets and f: A → B, g: B → C be functions. Prove the following statements: a) If f and g are surjective, then gof is surjective too. b) If gof is subjective, then g is subjective too.

Fig: 1

Fig: 2

Fig: 3

Fig: 4