I'm trying to show that $x$ and $y$ are irreducible and non-associate elements of $R := \mathbb{Z}[x,y]/(xy).$
To show they're non-associate elements, suppose $x=uy$ for some unit $u\in R.$ Then there exists $v\in R$ so that $uv = 1.$ Also, $x=uy\Rightarrow x-uy \in (xy)\Rightarrow x-uy=(f)(xy)$ for some $f \in \mathbb{Z}[x,y].$ But this isn't possible as $(f)(xy)$ cannot contain the term $x$.
Now suppose $x=ab$ for some $a, b\in R.$ I need to show that either $a$ or $b$ is a unit. Maybe some isomorphism mapping $x$ and $y$ to particular elements might be useful?
Is the proof that $x$ is not associates with $y$ correct? How do I show that $x$ and $y$ are irreducible?
Edit: I've decided to make some clarifications on irreducible and nonassociate elements. Also, just in case, $(xy)$ is the smallest ideal of $\mathbb{Z}[x,y]$ containing $xy.$ Let $R$ be a ring. An irreducible element $x$ is a nonzero nonunit such that if $x = ab$ for some $a,b \in R,$ then one of $a$ or $b$ is a unit (e.g. if $a$ is a unit, then there exists $v \in R$ so that $av = va = 1_R$). Two elements $a,b\in R$ are associates if $a = ub$ for some unit $u.$