in an arithmetic progression the thirteenth term is 27 and the seventh term is three times the second term,find the first term,the common difference and the sum of the first terms​