Relationship Bs

My step kid is causing problems so much so that me and SO have called off engagement and have split up and are not living together. I’m pregnant and have a 5 month old. I miss my man but not my step monster, whom is disrespectful and I’m sick of it. My MIL was telling me to suck it up as she is only here for the summer, but no you will not disrespect me. My Ex has accused me of showing more attention and care to MY daughter then her , well duh my daughter is a baby his daughter is 10 and doesn’t follow instructions, talks back and is rude in general. I want my relationship with him but sadly I don’t want to be a step parent anymore. I feel her mom has a lot to do with her acting out this way. Please help. I, not sure of what to do.