Complex sentence: It is later revealed that Joe killed Pauline and when her will is read, she gives Martin possession of the house, but only if he does not live with Sonia.
Split into simpler sentences: It is later revealed that Joe killed Pauline. When Pauline's will is read, she gives Martin possession of the house but only if he does not live with Sonia.