Consider the function f:R→R defined by f(x)=3x−5.
a. (i) Solve the equation f(x)=y for a general y∈R and hence show that f is surjective.
b. (ii) If the codomain is changed to (−∞,2) while the rule remains the same, determine whether the function is still surjective. Give reason for your answer.