Let $k$ be a field. Given $f, g \in k[x,y]$ coprime, why can we find $u,v \in k[x,y]$ such that $uf + vg \in k[x]\setminus\{0\}$?

I can do it for specific polynomials, but I'm struggling to structure a coherent proof. Any hints would be greatly appreciated!

Thanks