All solutions here are SUGGESTED. Mr. Teng will hold no liability for any errors. Comments are entirely personal opinions.
We have that
Students must understand what it means for two functions to be equal. It isn’t just about the rule (loosely put, formula) the same, but they require the same domain, and as a result the same range too. Stating the domains in (i) is important to show true understanding of what equal functions mean. It is saddening that some students also thought that which is not the case. is a composite function, “f in f” while is a product of two functions.
For (ii), students just need to be able to manipulate composite functions. It is always good habit to state domains for functions as they are meaningless without a domain.