$A$ and $B$ are constants such that
$$\frac{4x+5}{x^2+x-2}= \frac{A}{x+2} +\frac{B}{x-1}. $$Find $$\frac{B}{x+1} - \frac{A}{x-2}.$$
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
$A$ and $B$ are constants such that
$$\frac{4x+5}{x^2+x-2}= \frac{A}{x+2} +\frac{B}{x-1}. $$Find $$\frac{B}{x+1} - \frac{A}{x-2}.$$
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
\frac{2x-7}{(x+1)(x-2)}
$A$ and $B$ are constants such that
$$\frac{4x+5}{x^2+x-2}= \frac{A}{x+2} +\frac{B}{x-1}. $$Find $$\frac{B}{x+1} - \frac{A}{x-2}.$$
train