For computing Cash from Operating activities using indirect method, non-operating items are adjusted to Net Profit. Transfer to General Reserve (B) is added back as it is an appropriation of profit, and Gain on sale of machinery (D) is deducted as it is an investing activity gain. Purchase of Goodwill is investing; Issue of shares is financing.