40x^8-56x^4+24x

divided by
8x

Is this correct?

5x^7-7x^3+3

this is right.