Confused!

Last period was August 30th- September 3rd

Had unprotected sex September 22nd and had pink spotting October 3rd I took a test and I Got this

I never got my period then I ended up getting it October 19th... what does this mean?