S3=a1+a2+a3=a1+a1+d+a1+2d=3a1+3d
S8=a1+a2+a3+...+a8
=a1+a1+d+a1+2d+...+a1+7d
=8a1+(d+2d+...+7d)
=8a1+28d
∴3a1+3d=8a1+28d