(a) the aggregate of each amount:i. received by the employee or other beneficiary in a previous taxation year from a trustee under the plan while it was a profit sharing plan or a deferred profit sharing plan; and
ii. allocated to the employee or other beneficiary under the plan while it was a profit sharing plan, in respect of a capital loss sustained by the trust before 1972; from
(b) the aggregate of each amount:i. included in respect of the plan in computing the income of the employee for the year or a previous year under sections 852 to 865;
ii. paid by him to the trustee under the plan while it was a profit sharing plan; and
iii. allocated to the employee or other beneficiary by a trustee under the plan while it was a profit sharing plan, in respect of a capital gain made by the trust before 1972.