Prove that $X$ and $Y$ are isomorphic varieties if and only if $R[X]$ and $R[Y]$ are isomorphic rings. Where $R[X]$ and $R[Y]$ are rings of algebraic functions associated with $X$ and $Y$
If we have two maps $f : X \rightarrow Y$ and $g : Y \rightarrow X$
$X$ is isomorphic to $Y$ if $f \circ g = 1_Y$ and $g \circ f = 1_X$
The pullback maps are $f^* : R[Y] \rightarrow R[X]$ and $g^* : R[X] \rightarrow R[Y]$
How do I go further from here?