Let f : A → B and g : B → C denote two functions. Consider the following two statements:
S1 : If both f and g are injections then the composition function gof: A → C is an injection.
S2 : If the function gof: A → C is surjection and g is an injection then the function f is a surjection.
S3 : If h(a) = g(f(a)) and h(a) is onto then g must be onto, where ∀a, a ∈ A.
Which of the above statements are valid?
please give explanation