Let the first term be a and common difference be d .
Sum of first n terms of an A.P. is given by Sn=2n[2a+(n−1)d]
Now, for the first 4 terms: S4=24[2a+3d]=2(2a+3d)=6 ⇒2a+3d=3...(1)
And, for first 6 terms: S6=26[2a+5d]=3(2a+5d)=4 ⇒2a+5d=34...(2)
Subtracting (1) from (2),
(2a+5d)−(2a+3d)=34−3
⇒2d=34−39=−35 ⇒d=−65
Substituting this into (1):
2a+3(−65)=3
⇒2a−25=3
⇒a=411
Now, S12=212[2a+11d]=6[2a+11d]
=6 ⋅[211−655]=6 ⋅633−55=−22