(i) Killing all the rats, the farmer saves his field from the pests and his production of wheat will increase.
(ii) If all the snakes are removed the population of rats in the field will increase and they will reduce the production of wheat by feeding on them.