2x+1 Ax+B C D
------------- = ----- + - + --
x^2 + x - 2 x^2 x -2
The bottom is divided around, ne? There are three terms in the bottom, and one is quadratic, so that makes for 4 variables.
And don't tell me it's your homework! If I start working a problem, it becomes mine too!