ANSWER
Quotient:

Remainder:

Step-by-step explanation
The given function is:

and

We want to determine the quotient and the remainder when f(x) is divided by g(x).
We perform the long division as shown in the attachment.
The quotient is

and the remainder is
