Question

$$\left. \begin{array} { l } { 2 x ^ { 2 } + p x - 10 - 2 } \end{array} \right.$$

Evaluate

$2x^{2}+px-12$