What the definition of a function does not require
Record that two inputs may share an output and the range may be a proper subset of the codomain, and check f, g, h on A={1,2,3} against both properties.
2
The distinct-outputs statement, its contrapositive and its negation
Write "for all x,y∈A, if x=y then f(x)=f(y)", form its contrapositive, and negate it into an existential statement with x=y and f(x)=f(y).
3
Negating "every element of B is an output"
Write "for all y∈B there exists x∈A with f(x)=y" and negate it step by step, swapping both quantifiers and negating the final equation.
4
The two proofs for g(x)=5x+3
Prove that g(a)=g(b) forces a=b, then prove every real b is an output by solving for a=5b−3 and verifying g(a)=b.