Consider the linear function f:R→R defined by f(x)=mx+c where m=0. Suppose a function g:R→R of the form g(x)=px+q is its inverse.
a. (i) Write the expressions for (f∘g)(x) and (g∘f)(x).
b. (ii) By equating each composition to the appropriate identity function, determine p and q in terms of m and c.