5. Salary.

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