a: \(\Leftrightarrow10x^2-15x+8x-12+a+12⋮2x-3\)
=>a+12=0
=>a=-12
b: \(\Leftrightarrow ax^5-ax^4+\left(a+5\right)x^4-\left(a+5\right)x^3+\left(a+5\right)x^3-\left(a+5\right)x^2+\left(a+5\right)x^2-\left(a+5\right)x+\left(a+5\right)x-a-5+a-4⋮x-1\)
=>a-4=0
=>a=4