I’m confused

My boyfriends ex best friends mom Katie married my cousin Jeremiah so if my uncle (his dad) would be my boyfriends ex best friends grandpa in-law what would that make me to his ex best friend? I can’t stop thinking about this and it’s driving me insane