\[2a + b + 2a^{2} + ab =\]
\[= 2a + 2a^{2} + b + ab =\]
\[= 2a(1 + a) + b(1 + a) =\]
\[= (1 + a)(2a + b).\]