What is the formula for calculating the pension amount?