she had graduated earlier than usual by completing the mandatory fundamental education at age fourteen and the elective advanced education , in two separate disciplines , by the time she was eighteen .