I would like to prove that $A:=\Bbb{C}[X,Y]/ (X^2-Y^3)$ is not a UFD. This is equivalent to find an irreducible element which is not prime.
I can prove that every element looks like $\overline{P_1X+P_0}$ for $P_1,P_0\in \Bbb{C}[Y]$. After that let $\overline{Y}$ be the "image" of $Y$ in the quotient. It's not prime because the ring $A/(\overline{Y})$ will be isomorphic to $\Bbb{C}[X]\ (X^2)$.
But I am stuck to prove that $Y$ is irreducible,
that is, I write: $$Y=P_1Q_1X^2+P_0Q_1X+P_1Q_0X+P_0Q_0 =P_1Q_1Y^3+P_0Q_0+(P_0Q_1+P_1Q_0)X$$
So by unicity on $\Bbb{C}(Y)[X]$, it's equivalent to $$Y=P_1Q_1Y^3+P_0Q_0$$ and $$(P_0Q_1+P_1Q_0)X=0.$$
Now taking the value at zero in the first equation, we get that $P_0(0)=0$ (by symmetry). It means that $Y$ divides $P_0$.
Question: How can we continue ?