Here is an example of ChatGPT doing basic calculus but then messing up basic arithmetic. it has the right idea when factoring, but then messes up in substituting x=0 and claims that (0-5)(0+1) = -6, i.e. it adds instead of multiplying.