I want to create a table with text and math symbols in its cells. The problem is that I want in each cell the context to be vertically aligned to center.
Below you can see what I have done so far
\documentclass[a4paper,12pt]{report}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage[table]{xcolor}
\begin{document}
\newcolumntype{K}{>{\centering}m{4.5cm}}
\newcolumntype{L}{>{\centering}m{3.5cm}}
\newcolumntype{M}{@{}m{0pt}@{}}
\begin{tabular}{|c|K|c|c|L|M|}
\multicolumn{2}{c}{\cellcolor{cyan}\textbf{Column A}} & & \multicolumn{2}{c}{\cellcolor{cyan}\textbf{Column B}}\\[5pt]
a. & $5x^3(x - 1)^3$, $2x(x - 1)^4$ & & 1. & $-10x^4(x - 1)^3$ &\\[20pt]
\hline
b. & $5x(x - 1)^2$, $2x^3(x - 1)$ & & 2. & $10x^2(x - 1)$ &\\[20pt]
\hline
c. & $5x^4(x^2 - 1)$, $2x^2(x - 1)^2$ & & 3. & $10x^2(x - 1)^4$ &\\[20pt]
\hline
d. & $5x^2(x - 1)^2$, $2x^4(1 - x)^3$ & & 4. & $10x^3(x - 1)^2$ &\\[20pt]
\hline
c. & $\dfrac{x^2}{x + 1}$ & & 5. & $10x^4(x - 1)^2(x + 1)$ &\\
\hline
\end{tabular}
\end{document}
As you can see the text in the first row isn't vertically aligned. Any suggestions?