\[ax + bx + ac + bc =\]
\[= x(a + b) + c(a + b) =\]
\[= (a + b)(x + c).\]
\[Проверка:\]
\[(a + b)(x + c) =\]
\[= ax + bx + ac + bc.\ \ \]