The baby agreed to have sex with her professor in return for help, as she wanted to continue her studies