Determine if the following statement is true or false. Provide proof if true, or a counterexample if false.
Statement:
If $(f\circ g)(x)$ is differentiable, then $f(x)$ and $g(x)$ must be differentiable.
I think that this statement is false and my counterexample is as follows: let $f(x) = |x|$, $g(x) = x^2$, however, I wanted to find a different example that doesn't make use of $x$, $x^2$, or any constant functions, but I can't seem to find one.
Could anybody give me a hand, please?