Let a be the first term and d be the common difference.
We know that, sum of first n terms = Sn = [2a + (n − 1)d]
Now,
S4 = [2a + (4 − 1)d]
= 2(2a + 3d)
= 4a + 6d ....(1)
S8 = [2a + (8 − 1)d]
= 4(2a + 7d)
= 8a + 28d ....(2)
S12 = [2a + (12 − 1)d]
= 6(2a + 11d)
= 12a + 66d ....(3)
On subtracting (1) from (2), we get
S8 − S4 = 8a + 28d − (4a + 6d)
= 4a + 22d
Multiplying both sides by 3, we get
3(S8 − S4) = 3(4a + 22d)
= 12a + 66d
= S12 [From (3)]
Thus, S12 = 3(S8 − S4).