Complex sentence: Her first career was as a senior school mathematics teacher, and it was only after marrying and having children that she became an author and illustrator.
Split into simpler sentences: Her first career was as a senior school mathematics teacher. It was only after marrying and having children that she changed career and became an author and illustrator.