Let $f:[0,1]\to \mathbb{R}$ and $g:[0,1]\to[0,1]$ be two Riemann integrable functions. Assume that $|g(x)-g(y)|\geq a|x-y|$ for any $x,y\in [0,1]$ and some fixed $a\in (0,1)$. Show that $f\circ g$ is Riemann integrable.
I've learnt that if $g:[0,1]\to[0,1]$ integrable and $f:[0,1]\to\mathbb{R}$ continuous, then $f\circ g$ is integrable. Because the set of discontinuity of $f\circ g$ is contained in the set of discontinuity of $g$. Thus it follows from Lebesgue criterion. I feel like this problem is somehow similar, but what does $|g(x)-g(y)|\geq a|x-y|$ tell us?