I'm reading Gathmann's notes on algebraic curves. Here is exercise $2$.$17$(b):
If $F,G\in k[x,y]$ are coprime and $P\in\Bbb{A}^2$, then every element in $\mathscr{O}_P/\langle F,G\rangle$ has a polynomial representative.
In item (a), he asks us to find a polynomial representative in a concrete case, namely find a representative for $\frac{1}{x+1}$ when $F=y-x^3$, $G=y^3-x^4$ and $P=(0,0)$.
Here I've managed to show that $\mathscr{O}_P/\langle y-x^3,y^3-x^4\rangle=\mathscr{O}_P/\langle y,x^4\rangle=\text{span}_k(1,x,x^2,x^3)$. Findind the right coefficients, we get that:
$$\frac{1}{x+1}=1-x+x^2-x^3\,\,\text{ in }\mathscr{O}_P/\langle F,G\rangle.$$
For the general case, I imagine it's possible to write $\mathscr{O}_P/\langle F,G\rangle$ as the $k$-vector space generated by finitely many monomials, but I can't see how to show that.
Any suggestions?