\(a,f\left(x\right):g\left(x\right)=\left[\left(x-5\right)\left(x^3+2\right)\right]:\left(x-5\right)=x^3+2\\ \Rightarrow\text{Dư }0\\ b,f\left(x\right):g\left(x\right)=\left(8x^2-4x-2x+1+4\right):\left(2x-1\right)\\ =\left[4x\left(2x-1\right)-\left(2x-1\right)+4\right]:\left(2x-1\right)\\ =4x-1\left(\text{dư }4\right)\)