The answer to the problem is the product of the number of children at each generation, which is x⋅(x+1)⋅(x+2).