One number exceeds another by 5 the sum of their square is 157 what are the numbers

As expected, the bot is WRONG. A quick check:

12^2 + 7^2 = 193 , not the 157 we need

correct solution done by a human:

smaller number --- x
larger number -- x+5

x^2 + (x+5)^2 = 157
x^2 + x^2 + 10x + 25 = 157
2x^2 + 10x - 132 = 0
x^2 + 5x - 66 = 0
(x-6)(x+11) = 0
x = 6 or x = -11

the numbers are 6 and 11 OR they are -11 and -6

The numbers are 12 and 7.