a: \(A=-5x\left(2x^3-3x^2+x-4\right)\)
\(=-5x\cdot2x^3+5x\cdot3x^2-5x\cdot x+5x\cdot4\)
\(=-10x^4+15x^3-5x^2+20x\)
b: \(B\left(x\right)=\dfrac{\left(6x^3+4x^2-6x\right)}{2x}+\left(2x-1\right)\left(x^2+5\right)\)
\(=2x^2+2x-3+2x^3+10x-x^2-5\)
\(=2x^3+x^2+12x-8\)