Suppose g is a function from A to B and f is a function from B
to C. Prove the following statements:
a) If f ○ g is onto, then f must be onto.
b) If f ○ g is one-to-one, then g must be one-to-one.