The polynomial \(x^2 + bx + b\) is a factor of \(x^3 + 2x^2 + 2x + c\). Enter all possible values of b, separated by commas.
The possible values of b are 5 and -2.