Determine the A.P. whose third term is 5 and the 7th term is 9.