What is the coefficient of the second term of the polynomial? (In other words, what is B?

(x+2) (2x² + x-1) = 2x³+Bx²+ x -2