You are given that two functions f and g are bijections satisfying
f−1(x)=3x−1,g−1(x)=x+21,
where domains and ranges are chosen so that the expressions are valid.
(i) Express (f∘g)−1(x) in terms of f−1 and g−1 only.
(ii) Hence simplify (f∘g)−1(x) to a single rational function, stating clearly its domain.