Solve this in Long Division.

(x-6)/(10x^4-50x^3-800)

as written, it is 0 with remainder x-6

I think you mean

(10x^4-50x^3-800)/(x-6)

See the details at calc101.com

click on the "long division" button.