Proof 2: Proving the composition of surjective functions is itself a surjective function.
f(x) is surjective The range of f(x) is the set of all real numbers
g(x) is surjective The range of g(x) is the set of all real numbers
f(g(x)) is also surjective because of property 1 listed above. The range of f(x) is the set of all real numbers. The fact that g(x) represents all reals as well means that we touch all of the inputs needed to generate all the outputs for f(x).
-------------------------
Proving g(f(x)) to be surjective follows a similar path.