Functions/R/Composition and multiplication/Exercise

Let

denote functions.

a) Show the equality


b) Show by an example that the equality

does not hold in general.