1.
g(x)g(x) piecewise, f(x)=∣g(x)∣+g(∣x∣)+2f(x)=|g(x)|+g(|x|)+2, not diff at