Find the rth term of the AP, the sum of whose first n terms is (3n2 + 2n).