This is an Arithmetic progression.
Sn = a + (a + d) + ----------[ a + (n - 1) d ]
Sn = [ a + (n - 1) d ] + -------(a + d) + a
2 Sn = n [ 2a + (n - 1) d ]
2 Sn = n [ a + [a + (n - 1) d ] ]
2 Sn = n [ first + last ]
Sn = [ n/2 ] [ first + last ]
S12 = 6 [ 5 + 49 ]
S12 = 6 [ 54 ]
S12 = 324