factor 5*p^2-p-18