Since the degree of the denominator is 2 and the degree of the numerator is 1, the form of the partial decomposition is given as
By rewriting the right hand side as a single fraction, we have
We can to note that the denominators are equal, so we requiere the equality of the numerator, that is
Then, by distributing A and B into their respective parentheses, we get
Now, by factoring x, we obtain
The coefficients near the like terms should be equal. Then, by comparing both sides, we can see that
In matrix form, this system can be expressed as
So, we need to solve this system of equations. This system is equivalent to
By adding our last equations, we get
So B is given as
Now, by substituting this result into equation (2), we obtain
So A is given as
Therefore, the answer is: