5. Salary.

(a) by the amount of that pension;
(b) by the amount of the commuted value in respect of previous service if any, that he had, before assuming office received, in lieu of a portion of the pension due to him.