(x^6-13x^3+42)divided by (x^3-6)

Is this correct?

x^3-7

you're right!!