When integrating absolute values you must split up the integration into two parts, the first part where the expression inside the absolute value is always non negative and the second part where the expression inside the absolute value is always non positive.

For example g(x)= |x+2| Find