Test with a counter-example: \(A=\{1\},\ B=\{1,2\},\ C=\{1\}\), \(f(1)=1\), \(g(1)=g(2)=1\). Then \(gof\) is a bijection \(\{1\}\to\{1\}\) so \((gof)^{-1}\) exists, but \(f\) is not onto and \(g\) is not one-one.
This eliminates options (1), (2) and (4), leaving option (3), which is also always true by the injectivity/surjectivity argument for compositions.
Answer: (3) \(f\) is one-one and \(g\) is onto