Factor 2(m+p)^2-7(m+p)-30