wasting lots of sticky notes i finally got it
\(\frac{x+7}{(x-2)(x+1)}=\frac{A}{x-2}+\frac{B}{x+1}\) now mulitply (x-2)(x+1) on both sides
\(x+7=Ax+A+Bx-2B\) trying an example of x, i use 0 which gives
\(7=A-2B\) and do another that is 4
\(11=5A+2B\) the I add both equations together
\(18=6A\) which leaves us with A=3 plugging this into the equation
\(7=3-2B\) and so B equals -2 leaving us with
the ordered pair for (A,B) as \(3,-2\)
.