9: The function features an absolute value. First it is necessary to get rid of it by rewriting the given function into a split function.

Next hint
Answer