What is the correct factorization of x^2(x-8)+5(8-x)?

x^3-8x^2+40-5x

= x^3-8x^2-5x+40