It can’t parse the math either. It’s not a calculator, it’s a word-prediction engine.
It can output the statistically most likely answer given the sentence it was fed, which is generally going to be a correct answer, but only if humans also give a correct answer.