Michael J. answered  10/05/17
Tutor
                    
        5
        (5)
            Effective High School STEM Tutor & CUNY Math Peer Leader
Use synthetic division.  It will be faster and more efficient.
Divide the coefficients of P(x) by the possible of P(x). 
-3 | 2       4          -2           -1
              -6           6           -12
__________________________
      2      -2           4           -13
Q(x) = 2x2 - 2x + 4
R(x) = -13
Now put all the information into the required form.
P(x) / D(x) = (2x2 - 2x + 4) - [13 / (x + 3)]
     
     
             
 
                     
                    