add tag
Laurenso
I want to make a table of the multiple two polynomials `(ax^2 + bx + c)` and `(mx^2 + nx+p)`. My code
```
\documentclass[border=3.14mm]{standalone}
\usepackage{tabularray}
\usepackage{ninecolors}
\usepackage{caption}
\usepackage{float}
\usepackage{tikz}
\usetikzlibrary{calc}
\UseTblrLibrary{amsmath,
	booktabs,
	counter,
	diagbox,
	siunitx,
	varwidth}
\begin{document}

	\begin{tblr}{
cells={mode=dmath,halign=r},
hline{Y} = {solid}, 
colsep = .3mm} 
\SetCell[r=2]{fg=orange}\times 
		&  &  &  &  & a*x^2 & + & b*x & + & c \\
		&  &  &  &  & m*x^2 & + & n*x & + & p \\ \hline
		\SetCell[r=3]{fg=orange}+ 
		&  &  &  & + & p*a*x^2 & + & p*b*x & + & p*c \\
		&  & + & n*a*x^3 & + & n*b*x^2 & + & n*c*x &  &  \\
		& m*a*x^4 & + & m*b*x^3 & + & m*c*x^2 &  &  &  &  \\
		& m*a*x^4 & + & (n*a+m*b)x^3 & + & (p*a+n*b+m*c)x^2 & + & (p*b+n*c)x & + & p*c \\	
	\end{tblr}  
\end{document}

```
![image.png](/image?hash=938f9c67edf9bea29e84f3b2445aa82b498ac5856e46666558d970f402f05bd5)

How to put, e.g `a = 1; b=1; c=-1; m=2; n=-7; p=9` in to this tabularray by using `declare function={a = 1; b=1; c=-1; m=2; n=-7; p=9;}`
to get result?

```
\documentclass[border=2mm]{standalone}
\usepackage{tabularray}
\usepackage{ninecolors}
\begin{document}
	\begin{tblr}{
			cells={mode=dmath,halign=r}, hline{Y} = {solid,blue}, 
			colsep = .3mm 
		} 
		\SetCell[r=2]{fg=orange}\times 	&  &  &  &  & x^2 & + & x & - & 1 \\
		&  &  &  &  & 2x^2 & - & 7x & + & 9 \\ \hline
		\SetCell[r=3]{fg=orange}+ 
		&  &  &  &  & 9x^2 & + & 9x & - & 9 \\
		&  & - & 7x^3 & - & 7x^2 & + & 7x &  &  \\
		& 2x^4 & + & 2x^3 & - & 2x^2 &  &  &  &  \\
		& 2x^4 & - & 5x^3 & + & 0x^2 & + & 16x & - & 9 \\	
	\end{tblr}  
\end{document}
```

![image.png](/image?hash=dfc3d4d27821650d2ff39e0058ab834c45df982aa1d3d499f72c74b203c0ff08)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.