I'd like to use long division here. If you're not familiar with this method, I recommend this guide
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
color(white)(.).
color(white)(x^2-x | -) x2−x∣− color(white)(2x^4-3x^3.)2x4−3x3. 2x^2-x-62x2−x−6
color(white)(x^2-x)x2−x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................
x^2-x| x2−x∣∣ color(white)(-)− 2x^4-3x^3-5x^2+17x+12x4−3x3−5x2+17x+1
color(white)(x^2-x | ) x2−x∣∣ color(black)(-) − 2x^4-2x^32x4−2x3
color(white)(x^2-x | ) x2−x∣∣ color(white)(-)− . . . . . . . . . ...........
color(white)(x^2-x | ) x2−x∣∣ color(white)(-)− color(white)(2x^4)2x4 -1x^3-5x^2−1x3−5x2
color(white)(x^2-x | ) x2−x∣∣ color(white)(2x^4)2x4 color(black)(-)− -1x^3+1x^2−1x3+1x2
color(white)(x^2-x | ) x2−x∣∣ color(white)(-)− color(white)(2x^4)2x4 . . . . . . . . . ...........
color(white)(x^2-x | ) x2−x∣∣ color(white)(-)− color(white)(2x^4 -1x^3)2x4−1x3 -6x^2 +17x−6x2+17x
color(white)(x^2-x | ) x2−x∣∣ color(white)(2x^4 -1x^3)2x4−1x3 color(black)(-)− -6x^2 +6x−6x2+6x
color(white)(x^2-x | ) x2−x∣∣ color(white)(-)− color(white)(2x^4-6x^2)2x4−6x2 . . . . . . . . . ...........
color(white)(x^2-x | ) x2−x∣∣ color(white)(-)− color(white)(2x^4 -1x^3-6x^2. .)2x4−1x3−6x2.. 11x +111x+1
We can't keep dividing because the divisor (x^2-xx2−x) has a greater power (exponent) than the remainder (11x+111x+1) So, this is our equation: 2x^2-x-6+(11x+1)/(x^2-x)2x2−x−6+11x+1x2−x
Note, we tacked on the remainder, divided by the original equation. This is essential!
To double check our work, we can graph the original problem and our new equation and see if they are the same