To factor $ 2ab+4au-5b-10u $ we can use factoring by grouping.
Group $ \color{blue}{ 2ab }$ with $ \color{blue}{ 4au }$ and $ \color{red}{ -5b }$ with $ \color{red}{ -10u }$ then factor each group.
$$ \begin{aligned} 2ab+4au-5b-10u &= ( \color{blue}{ 2ab+4au } ) + ( \color{red}{ -5b-10u }) = \\ &= \color{blue}{ 2a( b+2u )} \color{red}{ -5( b+2u ) } = \\ &= (2a-5)(b+2u) \end{aligned} $$