Problem:
Multiply and expand $p(x) = 8 x^2-9 x-5$ and $q(x) = 3 x-2$
Answer:
\begin{array}{l}
 
\begin{array}{l}
 \text{Expand the following}: \\
 \left(8 x^2-9 x-5\right) (3 x-2) \\
\end{array}
 \\
\hline
 
\begin{array}{l}
 
\begin{array}{c}
 
\begin{array}{rrrrrrr}
 \text{x}^2 & \text{x}^2 & 8 x^2 & - & 9 x & - & 5 \\
 \text{x}^2 & \text{x}^2 & \text{x}^2 & \text{x}^2 & 3 x & - & 2 \\
\hline
 \text{x}^2 & \text{x}^2 & -16 x^2 & + & 18 x & + & 10 \\
 24 x^3 & - & 27 x^2 & - & 15 x & + & 0 \\
 24 x^3 & - & 43 x^2 & + & 3 x & + & 10 \\
\end{array}
 \\
\end{array}
: \\
 \fbox{$
\begin{array}{ll}
 \text{Answer:} &  \\
 \text{} & 24 x^3-43 x^2+3 x+10 \\
\end{array}
$} \\
\end{array}
 \\
\end{array}
{'source': 'AMPS', 'file': 'amps/mathematica/algebra/multiply_polynomials_w_steps/2904.txt'}