Remember ChatGPT is a language model and not a general purpose AI. It doesn't do the maths or understand the text, it just looks up in it's training data what a typical reply to similar maths would look like and builds a sentence that look