We can calculate the cross product by computing the determinant of the following matrix
$$
\mathbf{u}\times \mathbf{v}=\left|\begin{array}{ccc}
\mathbf{i} & \mathbf{j} & \mathbf{k}\\
u_1 & u_2 & u_3\\
v_1 & v_2 & v_3
\end{array}\right|$$
Therefore we have
$$
\begin{align}
(1,0,-2)\times (0,1,-2)&=\left|\begin{array}{ccc}
\mathbf{i} & \mathbf{j} & \mathbf{k}\\
1 & 0 & -2\\
0 & 1 & -2
\end{array}\right|\\
&=\left|\begin{array}{cc}
0 & -2\\
1 & -2
\end{array}\right|\mathbf{i} - \left|\begin{array}{cc}
1 & -2\\
0 & -2
\end{array}\right|\mathbf{j} + \left|\begin{array}{cc}
1 & 0\\
0 & 1
\end{array}\right|\mathbf{k}\\
&=(0+2)\mathbf{i}-(-2-0)\mathbf{j}+(1-0)\mathbf{k}\\
&= 2\mathbf{i}+2\mathbf{j}+\mathbf{k}\\
&= (2,2,1)
\end{align}$$