By doing long division of the given equation we get
Quotient = x2+2x+4
Remainder = 8
∴ We can write the above equation as
⇒ x2+2x+4
∴ The above equation becomes
⇒
We know
⇒ . (Where c is some arbitrary constant)