Let $p\left(x\right)=x^3-3x^2-10x+24$p(x)=x3−3x2−10x+24​ . What is the remainder when $p\left(x\right)$p(x)​ is divided by $x-1$x−1​ $?$?​