Shafarevich, Basic Algebraic Geometry 1, II.1.1
"Prove that the local ring $\mathcal O_x$ of the curve $xy=0$ at $(0,0)$ is isomorphic to the subring $\mathcal O \subset \mathcal O_1 \oplus \mathcal O_2$, where $\mathcal O_1$ and $\mathcal O_2$ are copies of the local ring of $0$ in $\mathbb A^1$ consisting of functions $f_1,f_2$ with $f_1\in \mathcal O_1$ and $f_2\in\mathcal O_2$ such that $f_1(0)=f_2(0)$."
I know that $\mathcal O_1=\mathcal O_2=\mathbb C[t]_{(t)}$ and that $\mathcal O=(k[x,y]/(x,y))_{(x,y)}=\{\frac{p(x)+q(y)}{r(x)+t(y)}:r(0)+t(0)\neq 0\}$.
I can't figure out the isomorphism, though. I was thinking $\frac{p+q}{r+t}\to (\frac{p}{r},\frac{q}{t})$. I think I've shown this is a homomorphism, but I can't figure out what the kernel has to do with the hint in the problem. Thanks!