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