1 answer
(click or scroll down)
using the distributive property, that is
a(p+3) - 2(p+3) = ap + 3a - 2p - 6
(a - 2) (p + 3)
a(p+3) - 2(p+3) = ap + 3a - 2p - 6