I have this statement:
If $\frac{x+6}{x^2-x-6} = \frac{A}{x-3} + \frac{B}{x+2}$, what is the value of $A+B$ ?
My attempt was:
$\frac{x+6}{(x-3)(x+2)} = \frac{A(x+2) + B(x-3)}{(x-3)(x+2)}$
$x+6=(x+2)A + B(x-3)$: But from here, I don't know how to get $A + B$, any hint is appreciated.
If $x+6=(x+2)A+B(x-3)$ then $$x+6=x(A+B)+(2A-3B)\implies$$ $$A+B=1\text{ and } 2A-3B=6$$