I have obtain a quadratic model from central composite design (DOE)

During ANOVA procedure I have some solution to compute "manualy" the sum of squares for direct factor (A) and interaction (AB) but how to calculate sum of squares for a factor square i.e. Factor A^2. (not the curvature SS)

Thanks a lot