hi umang
looking the first element of each line
i.e 1,2,4,7
s=1+2+4+7................................tn
s= 1+2+4+7.............................tn-1..+t n
0=1+1+2+3+4.............................tn-1-tn
tn=1+((n-1)n)/2
=(n2 -- n + 2)/2
same way the last term of the each line
s=1+3+6+......................................tn
s= 1+3+6+.............................tn-1..+t n
0=1+2+3+4+...............................tn-1-tn
tn=((n+1)n)/2
nth term =(n2 + n )/2
sum of nth line =(n/2)( t1 + tn )
= (n3 + n)/2