等差数列{An}中S3等于6,A1等于4.求公差d