Let $A=k[x,y]$ where $k$ is a field. Let $S=\{(y),(x,y-1)\}$ be a subset of $\operatorname{Spec}A$. Then $I(S)$ consists of those polynomials in both $(y)$ and $(x,y-1)$.
How could one find generators for the ideal $I(S)$?
I know that if $f\in S$, then we have that $f=gy$ for some $g\in A$. Further, we have $f=hx+j(y-1)$ for some $h,j\in A$.
From this it follows that $(g-j)y-hx-j=0$. But I'm not sure how this helps us find the generators. What am I missing?