(k) In arriving at the amount due the Contractor under this clause, there shall be deducted—

(1) All unliquidated advance or other payments to the Contractor under the terminated portion of this contract;

(2) Any claim which the Government has against the Contractor under this contract; and

(3) The agreed price for, or the proceeds of sale of, materials, supplies, or other things acquired by the Contractor or sold under the provisions of this clause and not recovered by or credited to the Government.