Let $X$ be a prevariety. Define a equivalnce class of $(U,f)$ where $\emptyset \neq U \subset X $ open and $f \in \Gamma (U)$ by setting $(U,f) \sim (V,g)$ if there is $\emptyset \neq W\subset U\cap V$ open such that $f|_W =g|_W$
Define the structure of a field extension of $k$ (algebraic closed field) on the set of equivalence classes, and show that this field extension is isomorphic to the function field of $X$
This is exercise 1.17 from Ulrich Gortz and Torsten wedhorn algebraic geometry 1
Any ideas?
Edit: In this book, a prevariety is a connected space with functions $(X,\mathcal{O}_X)$ with the property that there is a finite covering $X=\cup_{i=1}^n U_i$ such that the space with functions $(U_i,\mathcal{O}_{X|U_i})$ is an affine variety for all $i=1...n$