Step 1: Write second polynomial below the first one. Making sure like terms are lined up.
$$ \begin{array}{lrrrr} & 3x^{25} & & & -10 \\ \color{red}{ - } & & 5x^2 & -3x & -7 \\ \hline \end{array} $$Step 2: Change ALL the signs in the second row.
$$ \begin{array}{lrrrr} & 3x^{25} & & & -10 \\ \color{red}{ - } & & -5x^2 & 3x & 7 \\ \hline \end{array} $$Step 3: Combine like terms (add each column):
$$ \begin{array}{lrrrr} & 3x^{25} & & & -10 \\ \color{red}{ - } & & -5x^2 & 3x & 7 \\ \hline & 3x^{25} & 5x^2 & -3x & -17 \end{array} $$