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