IRA BASIS

I had an employer 401k that was rolled over into one traditional IRA and a Roth IRA when I stopped working for them. I closed both accounts in 2024 without making any new contributions after the rollovers but I don’t know my total contributions. How can I determine my basis and will I have to pay taxes on the full withdrawal amount if I also didn’t report the automatic rollovers?