In the \(xy\)-plane, the graph of   \(y=x^2+2x+a\)   contains the points \((-1,0 )\) and \( (2,b) \). What is the value of \(b\)?