Chat gpt not compiling latex code

Trying to use gpt to solve some integerals and it seems to be blurting out latex code but cant compile it. not the first time I’ve ran into this issue