Deductions & credits

Hello, thank you for your reply. My contributions were withdrawn from Nationwide, Missionsquare and FRS (Florida Retirement System) plans. The 20% tax has been automatically taken. The plans were offered to me with the employment in Miami Dade County -Parks and Recreation. As I mentioned in 2023 I was a resident, but withdrew the contributions in 2024 as a non-resident. I found on IRS website that distributions from pensions or retirement plans that were earned while I was employed in the US are ECI, because are attributable to my US service after 1986? And to figure out the tax I need to use tax tables. I live in Poland now. Thank you for your input!