If the sum of four consecutive terms in an arithmetic progression is 28 and the sum of the square of each term is 216, find the sum of the 1st and 4th terms.