The correct option is B (17x + 17xy - y + 10z)
Sum of first two expressions is
x + 2y - 7xy + 5z
- 6x + 9y - 24xy - 9z
__________________________
(- 5x + 11y - 31xy - 4z) ---(1)
Sum of last two expressions,
5x + 2xy + 4y + 0z
7x - 16xy + 6y + 6z
__________________________
(12x - 14xy + 10y + 6z)---(2)
Subtract equation (1) from (2),
12x - 14xy + 10y + 6z
- 5x - 31xy + 11y - 4z
(+) (+) (-) (+)
____________________________
(17x + 17xy - y + 10z)