The question has a linear factor in the denominator to the power of 3. I have only encountered 2 before. Have I started this question correctly? If I compare coefficients of x cubed the I find that A=2.
the method used in your picture is not correct, when you take x=-3, the denominator will become 0.
So you better to use comparing the coefficient when you encounter this kind of problem.