Retirement tax questions

Form 2555 and the corresponding worksheet ... switch to the FORMS mode  to see that calculation.