Step 1: Write second polynomial below the first one. Making sure like terms are lined up.
$$ \begin{array}{lrrr} & 2x^2 & -5x & 8 \\ \color{blue}{ + } & 6x^2 & -7x & -12 \\ \hline \end{array} $$Step 2: Combine like terms (add each column):
$$ \begin{array}{lrrr} & 2x^2 & -5x & 8 \\ \color{blue}{ + } & 6x^2 & -7x & -12 \\ \hline & 8x^2 & -12x & -4 \end{array} $$