The amount of the monthly ordinary service pension payable to a retired member shall be the sum of 2.5% of final average compensation multiplied by years of service up to 20 years inclusive, plus 3.5% of final average compensation multiplied by years of service above 20 years.