Complex sentence: All seems well, but when Effi's letters to Crampas are found by her husband, he decides to divorce and gets custody of Annie and influences her to disdain Effi.
Split into simpler sentences: All seems well, but when Effi's letters to Crampas are found by her husband, he decides to divorce her. He gets custody of Annie and influences her to disdain Effi.