n/2*(2*30-3(n-1))=8(30-3n)