There are real numbers $A$ and $B$ such that \[\frac{5x+16}{x^2-7x+10}=\frac{A}{x-2}+\frac{B}{x-5}.\]Find $A+B$.
Hint: Cross multiply
Get a common denominator on the RHS
Are the two denominators the same now? Yes ?
So now equate coefficients on the top