Let $A \subset [0,1]$ be a Borel set such that $0 < m(A\cap I) < m(I)$ for every subinterval $I$ of [0,1].
a. Let $F(x) = m([0,x] \cap A)$. The $F$ is absolutely continuous and strictly increasing on $[0,1]$, but $F' = 0$ on a set of positive measure.
b. Let $G(x) = m([0,x] \cap A) - m([0,x]\backslash A)$. Then $G$ is absolutely continuous on [0,1], but $G$ is not monotone on any subinterval of $[0,1].
I am stuck on this problem and would sincerely appreciate help. Thank you.