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