Let
a−d,a,a+d be the first three terms of an A.P.
It is given that the sum of the terms is 6 that is:
a−d+a+a+d=6⇒3a=6⇒a=63⇒a=2......(1)
It is also given that the product of the terms is −120 that is:
(a−d)(a)(a+d)=−120⇒a(a2−d2)=−120(∵(x+y)(x−y)=x2−y2)⇒2(22−d2)=−120(From(1))⇒4−d2=−1202
⇒4−d2=−60⇒d2=4+60⇒d2=64⇒d=±√64⇒d=±8...........(2)
Now, if a=2 and d=−8 then the first three terms of the A.P are:
a−d=2−(−8)=2+8=10
a=2 and
a+d=2−8=−6
And if a=2 and d=8 then the first three terms of the A.P are:
a−d=2−8=−6
a=2 and
a+d=2+8=10
Hence, the three terms are −6,2,10 or 10,2,−6