The sum of three consecutive terms of an arithmetic progression (AP) is 21, and the sum of the squares of these terms is 165. Find the terms.

a) 4, 5, 6
b) 3, 6, 9
c) 5, 6, 7
d) 6, 7, 8