# How do you factor 2p-2q-p^2+pq?

$2 \left(p - q\right) - p \left(p - q\right) = \left(p - q\right) \left(2 - p\right)$