7: 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 both of them, so functions differ by a constant on them. To find where an actual equality occurs, substitute some point from each M and compare.

Next hint
Answer