Cash flow from operating activities starts with net profit. Non-cash expenses (goodwill written off) and losses on sale of assets are added back because they reduce profit but do not affect cash.
Therefore, Cash flow from operating activities = Rs 35,000 + Rs 16,000 + Rs 5,000 = Rs 56,000.