已知数列{an}的前n项和为Sn=3n2+2n,求公差d=?