He came inside me 2 days before my period started??

So I'm about 7 weeks pregnant I think,my last period started sept 12, and I had sex sept 27 & 30 with the pull out method, (sept 30 he put it back in right after he came) and then on oct 6&7 - he came inside me, by period was supposed to come October 8th, but usually even if he came in me a up to a week before my period, I'd still my period because I'm not ovulating (risky I know, won't be doing that anymore.)

I'm trying to figure out which sex could have gotten me pregnant as it was my ex and another guy. Please don't judge, I feel terrible about it, should have been more careful. I've been tested since

What sex could have made me pregnant?

Any guesses would be helpful thank you