Step 1: First we have to write polynomials in descending order.
$$ \begin{aligned} P(x) &= 3x^4+8x^2-2 \\ Q(x) &= -7x^4+6x^2+4 \\ \end{aligned} $$Step 2: Write second polynomial below the first one. Making sure like terms are lined up.
$$ \begin{array}{lrrr} & 3x^4 & 8x^2 & -2 \\ \color{blue}{ + } & -7x^4 & 6x^2 & 4 \\ \hline \end{array} $$Step 3: Combine like terms (add each column):
$$ \begin{array}{lrrr} & 3x^4 & 8x^2 & -2 \\ \color{blue}{ + } & -7x^4 & 6x^2 & 4 \\ \hline & -4x^4 & 14x^2 & 2 \end{array} $$