Answer:
x - 8 + [tex]\frac{12}{x+3}[/tex]
Step-by-step explanation:
One way to do the division is to use the divisor as a factor in the numerator
Consider the numerator
x(x + 3) - 3x - 5x - 12
= x(x + 3) - 8(x + 3) + 24 - 12
= x(x + 3) - 8(x + 3) + 12
quotient = x - 8 and remainder = 12
[tex]\frac{x^2-5x-12}{x+3}[/tex] = x - 8 + [tex]\frac{12}{x+3}[/tex]