This is a long division problem for polynomials. It is impossible to write the process out using this text editor.
Set it up exactly as you would for a numerical long division problem and proceed the same way.
d(x) = x2 + 4
q(x) = 8x2 - 3x - 30
r(x) = 12x + 119