Periodic function/Composition properties/Exercise

Let

be a periodic function and

any function. a) Prove that the composite function is also periodic.

b) Prove that the composite function does not need to be periodic.