1: \(\dfrac{f\left(x\right)}{x-3}=\dfrac{2x^2-6x+\left(a+6\right)x-3a-18+3a+19}{x-3}\)
=2x^2+(a+6)+3a+19/x-3
Để f(x)/x-3 dư 4 thì 3a+19=4
=>3a=-15
=>a=-5
2: \(\dfrac{f\left(x\right)}{x-5}=\dfrac{3x^2-15x+\left(a+15\right)x-5a-75+5a+102}{x-5}\)
\(=3x+a+15+\dfrac{5a+102}{x-5}\)
Để dư là 27 thì 5a+102=27
=>5a=-75
=>a=-15