Complex sentence: Dick comes home early from Cleveland and confides in Allan that he thinks Linda is having an affair, not working out that her affair is with Allan, but expresses his love for Linda to him.
Split into simpler sentences: Dick comes home early from Cleveland and confides in Allan that he thinks Linda is having an affair. He does not work out that it is Allan, but expresses his love for Linda to him.