Subtract

(4x+17xy-9y)-(5x-8xy)

(4x+17xy-9y)-(5x-8xy) = 4x+17xy-9y -5x+8xy

Combine like terms.