Ok, I will do an example step by step, try to repeat it with your polynomials:
I will divide ##3x^3+6x^2-3x+6## by ##3x^2-1##
So, the first step, you ignore all the terms except the first one of each polynomial and divide them;
$$\frac{3x^3+6x^2-3x+6}{3x^2-1}\rightarrow \frac{3x^3}{3x^2}=x$$
Now you multiply the divisor by ##x## and subtract from the dividend;
$$(3x^3+6x^2-3x+6) - x\cdot(3x^2-1) = (3x^3+6x^2-3x+6) - (3x^3-x)$$ $$= (3-3)x^3+6x^2-(3-1)x+6 = 6x^2-2x+6$$
Notice that this new polynomial has a lower degree than the original one, and also by construction they fulfil
$$(6x^2-2x+6) + x (3x^2-1) = 3x^3+6x^2-3x+6$$
You can redo these two steps once more, starting with ##6x^2-2x+6##
$$\frac{6x^2-2x+6}{3x^2-1}\rightarrow \frac{6x^2}{3x^2}=2$$
$$6x^2-2x+6 - 2\cdot(3x^2-1) =6x^2-2x+6 - (6x^2-2)$$ $$= (6-6)x^2-2x+(6+2) = -2x+4$$
Now notice that this polynomial has a lower degree that you divisor, so we are done, the polynomials that we want are
$$Q=x+2, \qquad R=-2x+4$$