The multiplication X'X generates a p' × p' matrix where the diagonal elements are the sums of squares of each of the independent variables and the off-diagonal elements are the sums of products between independent variables. The general form of X'X is