$\mathbf{The \ Problem \ is}:$ Show that the ring $R_1=\mathbb{C}[x,y,z]/(xy-z^2)$ is not isomorphic to $R_2 = \mathbb{C}[x,y,z]/(xy-z)$ .
$\mathbf {My \ approach}:$ There was a hint stating to show that $R_2$ is a UFD and $x$ is irreducible in $R_1$.
Now, $x$ is not prime in $R_1$ as $x\mid xy=z^2$ but then primality of $x$ would mean $x\mid z$, then $R_1$ will not be a UFD.
I have only read up to free modules and Gauss' lemma, a proof involving those things only will be very helpful for me.
A small hint is warmly appreciated.