To factor $ 90p+9+10pq+q $ we can use factoring by grouping.
Group $ \color{blue}{ 90p }$ with $ \color{blue}{ 9 }$ and $ \color{red}{ 10pq }$ with $ \color{red}{ q }$ then factor each group.
$$ \begin{aligned} 90p+9+10pq+q &= ( \color{blue}{ 90p+9 } ) + ( \color{red}{ 10pq+q }) = \\ &= \color{blue}{ 9( 10p+1 )} + \color{red}{ q( 10p+1 ) } = \\ &= (9+q)(10p+1) \end{aligned} $$