If (x + 2) is a factor of x\(^2\) +px – 10, find the value…