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