a, `(8x^3-4x^2): 4x -(4x^2-5x) : 2x + (2x)^2`
`=4x (2x^2-x) : 4x - 2x(2x-5/2 ) :2x + 4x^2`
`=2x^2-x-2x+5/2+4x^2`
`=6x^2-3x+5/2`
b, `(3x^3-x^2y) :x^2 -(xy^2+x^2y) :xy + 2x(x+1)`
`=x^2 (3x-y) :x^2 -xy(y+x) + (2x^2+2x)`
`=3x-y-y-x+2x^2+2x`
`=2x^2+4x-2y`