Complex sentence: The codomain can affect whether the function is a surjection; in our example, "g" is a surjection while "f" is not.
Split into simpler sentences: The codomain can affect whether a function is a surjection. In our example, "g" is a surjection while "f" is not.