The sum of the second and third terms of G.P is six times the fourth term.Find the two possible value of the common ratio

As expected for these of kind of problems, the bot is WRONG

ar + ar^2 = 6(ar^3)
ar(1 + r) = 6(ar^3)
1+r = 6(r^2)
6r^2 - r - 1 = 0
(3r + 1)(2r - 1) = 0
r = -1/3, or x = 1/2

The common ratio is either 2 or -3.