Your number 1 above you quote as:
x/(x+1)(x-4)
I'll bet you don't mean that. When you have multiplication and division at the same level, you evaluate left-to-right. The above is the same as: [ x / (x+1) ] (x-4)
which is the same as: x (x-4) / (x+1)
which I'll bet is not what you intended.The second - as you quote it - is:
3x+1/x^2-6x+8
Division binds more closely than addition and subtraction, while addition and substraction are then read from left-to-right. What you quote is therefore the same as: 3x + 1/x^2 - 6x + 8
which is 3x + (1/x^2) - 6x + 8
which simplifies to (1/x^2) - 3x + 8
I'll bet that's not what you meant.Now let's turn to the first of the ones you originally asked about:
3x-1/[(x+2)(1-x+x^2)]
I'll bet you mean: (3x-1) / [(x+2)(1-x+x^2)]
and I'll bet the square brackets are necessary. And you are right that all you need to do is solve for A and B after writing it as A/(x+2) + B/(1-x+x^2).So remembering that a/b + c/d = (ad+bc)/bd, what does
A/(x+2) + B/(1-x+x^2)
equal?