Answer:

Step-by-step explanation:
Let consider the following algebraical substitution:


The integral is re-arranged to this form:

After doing some algebraical manipulation, the rational form of this integral is:

The solution of this integral is:

G(x) = -3x - 4
g(x) = |3x| + 4
I hope I answered the questions right