Find constants A and B such that

(x+7)/(x^2-x-2) = (A)/(x-2) + (B)/(x+1)

for all x such that x does not equal -1 and -2. Give your answer as the ordered pair (A,B) .

By partial fractions, (A,B) = (4,-1).

that's incorrect, but thank you for taking the time to answer my question!