The second term of an arithmetic sequence is 7, the sum of the first four terms in the arithmetic sequence is 12, find the first term and the common difference