How can I retrieve the individual amounts of my different pensions for prior tax returns, since the returns only have the total of all pensions?

I need this, going back to 2017, in order to prove something to the Social Security Administration.