Set $X = \mathbb{A}_K^2 = K^2$, $K$ an algebraically closed field. I am considering $A \, \colon= X - \{(0,0)\}$ viewed as a locally closed subspace of $X$. By definition a locally closed subset is one that is the intersection of a Zariski open and a Zariski closed subset. Since $A = V(\langle x,y \rangle)^c \cap X$ the definition is satisfied, in particular $A$ is an open subspace. View $A$ as a quasi-affine algebraic variety, $(A, \mathscr{O}_A)$ with the structure induced from $(X, \mathscr{O}_X)$. If it matters, we know this space is irreducible since $X$ is irreducible and any open subspace of irreducible is also irreducible.
I would like to check that the functions $Q_1 = x$ and $Q_2 = y$ are regular on $A$. I feel like this should be extremely trivial, or obvious, but it is not. To be honest, the concept of regular functions have always been a bit slippery to me. My approach here would be to simply check that my definition of regular function is satisfied. My definition is $Q_i$ is regular on $A$, or $Q_i \in \Gamma(A, \mathscr{O}_A)$, if
1) $Q_i \colon A \to k$ is continuous,
2) if $x \in A$ and $f \in \mathscr{O}_{x,K}$ then $f \circ Q_i \in \mathscr{O}_{x,A}.$
Are there better ways, more intuitive ways, or easier ways to be thinking of regular functions so that the justification I seek is immediate?