she taught grammar for two years philosophy for five years and theology for twenty years