q*(6+d)=64,q*q*(9+3d)=960,