Complex sentence: She married Louis-Nicolas Guiard in 1769 but separated from him in 1777 and thereafter earned a living by teaching painting.
Split into simpler sentences: She married Louis-Nicolas Guiard in 1769, but separated from him in 1777. Thereafter, she earned a living by teaching painting.