Answer:
[tex]x^2-x-1+\frac{-9}{x-3}[/tex]
Step-by-step explanation:
I prefer to use synthetic division when possible. Here it is possible since we are dividing by a linear factor.
Since we are dividing by x-3, 3 goes on the outside.
If we were dividing by x+3, -3 goes on the outside.
3| 1 -4 2 -6
| 3 -3 -3
_______________
1 -1 -1 -9
So the quotient is 1x^2-1x-1 + (-9)/(x-3).
Let's simplify this and also put in the pretty math code:
[tex]x^2-x-1+\frac{-9}{x-3}[/tex]