I am trying to write this in latex but cannot figure out how. I am trying to do the one on the right hand side. I was trying with tikzcd.
Also when I am trying to write the latex for the one on left side, the first down arrow is shifted towards left. Here is my latex code. Below the pic, is the pic of what I am getting with the latex code below.
\[
\begin{tikzcd}
K(x) : 0 \arrow{r} R \arrow{r}{x} \arrow{d}{y} & R \arrow{d}{y} \\
K(x) : 0 \arrow{r} R \arrow{r}{x} & R
\end{tikzcd}
\]
Thanks !!!