\(p=\left(x-1\right)\left(x+7\right)\left(x+2\right)\left(x+4\right)+2075\)
\(=\left(x^2+6x-7\right)\left(x^2+6x+8\right)+2075\)
\(=\left(x^2+6x+2-9\right)\left(x^2+6x+2+6\right)+2075\)
\(=\left(x^2+6x+2\right)^2-3\left(x^2+6x+2\right)+2021\)
\(\Rightarrow p\) chia q dư \(2021\)