Complex sentence: Marge observes that Ralph has a vivid imagination and realizes that he has no friends to play with; she arranges for Ralph to spend time with Bart.
Split into simpler sentences: Marge observes that he has a great imagination realizes that he has no friends to play with. After discovering Ralph needed a play mate, she arranges for him to spend time with Bart.