The depreciation is a none cash item that was initially deducted to get the net income, hence it is added back in the cash flows statement.
An increase in inventory represents an outflow of cash hence the negative value. The increase in trade payable is an increase in a liability representing an inflow of cash hence it is positive.