It is common sense that the composition of two continuous functions is continuous.
It is also widely known that the composition of two derivable functions is derivable.
Is it true that the composition of two functions that have primitives has primitives?
If it is true that I would be grateful to have a demonstration, otherwise, if it is false then I need a counterexample.
Note: the two functions are defined over $\mathbb R$.