To factor $ 2x^2+ax-6bx-3ab $ we can use factoring by grouping.
Group $ \color{blue}{ 2x^2 }$ with $ \color{blue}{ ax }$ and $ \color{red}{ -6bx }$ with $ \color{red}{ -3ab }$ then factor each group.
$$ \begin{aligned} 2x^2+ax-6bx-3ab &= ( \color{blue}{ 2x^2+ax } ) + ( \color{red}{ -6bx-3ab }) = \\ &= \color{blue}{ x( 2x+a )} \color{red}{ -3b( 2x+a ) } = \\ &= (x-3b)(2x+a) \end{aligned} $$