The question is:
Assume $f \colon\mathbb{R}\to\mathbb{R}$, $c\in \mathbb{R}$, $f(c)=0$, $f$ is differentiable at $c$, and $g\colon\mathbb{R}\to\mathbb{R}$ is defined by $g(x)=|f(x)|$. Show that if f'(c)=0, then $g$ is differentiable at $c$ and g'(c)=0.
So what I did was say that g'(c) = \lim_{x\to c} \frac{|f'(x)|-|f'(c)|}{x-c} \leq \left|\lim_{x\to c} \frac{f'(x)-f'(c)}{x-c}\right| = |f'(c)| so g'(c) \leq |f'(c)|; but after this I am stuck. I am trying to use squeeze theorem, but am not sure if I am on the right track.