To factor $ 3xy-6x+4y-8 $ we can use factoring by grouping.
Group $ \color{blue}{ 3xy }$ with $ \color{blue}{ -6x }$ and $ \color{red}{ 4y }$ with $ \color{red}{ -8 }$ then factor each group.
$$ \begin{aligned} 3xy-6x+4y-8 &= ( \color{blue}{ 3xy-6x } ) + ( \color{red}{ 4y-8 }) = \\ &= \color{blue}{ 3x( y-2 )} + \color{red}{ 4( y-2 ) } = \\ &= (3x+4)(y-2) \end{aligned} $$