6: Denoting the function on the left as f and the one on the right as g one gets

There are two possible intervals of equality, M = [−1,0] and M = [0,1]. The derivatives are equal on the second of them, so on the first set equality is already ruled out. To see whether it actually occurs on the second set, substitute some point from it and compare.

Next hint
Answer