I was given this polynomial equation $$A(x^2+x)-B(x^2-x) = 4x^2-10x$$ and I was given a clue in order to solve A and B, it is best to convert from the original equation to this :$$(A-B)x^2+(A+B)x = 4x^2-10x.$$
In general, can you show me how to convert $A(x^2+x)-B(x^2-x) = 4x^2-10x$ to $(A-B)x^2+(A+B)x = 4x^2-10x$?
Are there some kind of manipulations that I need to know?
Thank you every much!