To factor $ 28rs+7r-40s-10 $ we can use factoring by grouping.
Group $ \color{blue}{ 28rs }$ with $ \color{blue}{ 7r }$ and $ \color{red}{ -40s }$ with $ \color{red}{ -10 }$ then factor each group.
$$ \begin{aligned} 28rs+7r-40s-10 &= ( \color{blue}{ 28rs+7r } ) + ( \color{red}{ -40s-10 }) = \\ &= \color{blue}{ 7r( 4s+1 )} \color{red}{ -10( 4s+1 ) } = \\ &= (7r-10)(4s+1) \end{aligned} $$