Problem:
Multiply and expand $p(x) = -x^2+14 x-2$ and $q(x) = 7 x-7$
Answer:
\begin{array}{l}
 
\begin{array}{l}
 \text{Expand the following}: \\
 \left(-x^2+14 x-2\right) (7 x-7) \\
\end{array}
 \\
\hline
 
\begin{array}{l}
 
\begin{array}{c}
 
\begin{array}{rrrrrrr}
 \text{x}^2 & \text{x}^2 & -x^2 & + & 14 x & - & 2 \\
 \text{x}^2 & \text{x}^2 & \text{x}^2 & \text{x}^2 & 7 x & - & 7 \\
\hline
 \text{x}^2 & \text{x}^2 & 7 x^2 & - & 98 x & + & 14 \\
 -7 x^3 & + & 98 x^2 & - & 14 x & + & 0 \\
 -7 x^3 & + & 105 x^2 & - & 112 x & + & 14 \\
\end{array}
 \\
\end{array}
: \\
 \fbox{$
\begin{array}{ll}
 \text{Answer:} &  \\
 \text{} & -7 x^3+105 x^2-112 x+14 \\
\end{array}
$} \\
\end{array}
 \\
\end{array}
{'source': 'AMPS', 'file': 'amps/mathematica/algebra/multiply_polynomials_w_steps/1892.txt'}