the sum of n terms of an a.p. is 3n^2+2n, then find its pth term.

(answer 6p-1)