Use the generic rectangle below to divide the two polynomials.

 12x343x279x30x5\displaystyle {\frac{{{12}{x}^{{3}}-{43}{x}^{{2}}-{79}{x}-{30}}}{{{x}-{5}}}} 

 
x\displaystyle {x}   12x3\displaystyle {12}{x}^{{3}} 
-5

Result: