Complex sentence: She has sex with Robb, who marries her the next day to preserve her honour, in doing so breaking a marriage contract with House Frey.
Split into simpler sentences: She has sex with Robb, who marries her the next day. To do so, he breaks a marriage contract with House Frey.