What is this?😭

Tay

I went to the bathroom and this was in my underwear. Can someone please tell me what this is. I’m 6 weeks 1 day today and I’ve been so worried about having a miscarriage. I thought it looked like part of my mucous plug and when I wiped there was more stretchy discharge and a couple of tiny streaks of blood in it. I did have sex last night and was really worried bc it was hurting my cervix bc it felt so low….