The sum of three terms of an A.P. is 21 and the product of the first and the third terms exceeds the second term by 6, find three terms.