<s>[INST] How to get the value of $A + B ?$ 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.
 [/INST] By equating coefficients, you have the system of equations
$$A+B = 1,$$
$$2A-3B = 6.$$
</s>