Let's define $\phi: \Bbb R^2 \to S$ for $S$ is subset of $\Bbb R^3$
For constant $a,b,c,d$ and $c\not =0$ $$\phi(x,y)=(x,y, \frac{d-ax-by}{c})$$
I want to show that the function $\phi$ is 1-1 continuous. And find its inverse ,which is continuous as well.
Hint: To see that $\phi$ is injective you just prove that if $\phi(x,y)=\phi(m,n)$ then $x=m$ and $n=y$. For the continuity note that each entry is a polynomial and then is continuous.