Complex sentence: In an act of friendship, Gilbert Blythe gives up his teaching position at the Avonlea school to work at White Sands School instead, thus enabling Anne to teach in Avonlea and stay at Green Gables all through the week.
Split into simpler sentences: In an act of friendship, Gilbert Blythe gives up his teaching position at the Avonlea School to work at White Sands School instead. Anne can teach in Avonlea and stay at Green Gables all through the week.