How do you factor 7p + pq +6pr?

$7 p + p q + 6 r = \textcolor{g r e e n}{p \left(7 + q + 6 r\right)}$
After extracting the common factor of $\textcolor{g r e e n}{p}$ from each term
we are left with three terms: $\textcolor{g r e e n}{7 , q ,}$ and $\textcolor{g r e e n}{6 r}$ which have no common factors and contain different variables so they can not be further reduced.