Retirement tax questions

This might help.  See IRS publication 575 starting on page 28

https://www.irs.gov/pub/irs-pdf/p575.pdf