The sum of three terms in an ap is 21 and the product of the first and the third term exceeds the