(a) his total income in respect of which he is assessable under this Act during the previous year consisted only of investment income or income by way of long-term capital gains or both; and
(b) the tax deductible at source under the provisions of Chapter XVII-B has been deducted from such income.