The definition of an open set : A subset $U$ of a metric space $(M,d)$ is called open if, given any point $x$ in $U$, there exists a real number $ε > 04$ such that, given any point $y$ in $M$ with $d(x, y) < ε$, $y$ also belongs to $U$.
In the case of a line in the plane given by the equation $ax + by + c= 0$, where $a, b$ and $c$ are real constants with $a$ and $b$ not both zero, the distance from the line to a point $(x_0,y_0)$ is
$$ \frac{|ax_0 + by_0 +c|}{\sqrt{a^2 + b^2}}.$$
Now, we are interested in one specific line, namely $y = x$, i.e. $x - y = 0$.
The distance of any point $(x_0, y_0)$ in $G$ to the line $ x -y = 0$ is therefore
$$r :=\frac{|x_0 -y_0|}{\sqrt{2}}.$$
Now, consider the open ball centered in $(x_0,y_0)$ and of radius $r$. Do every element of this ball belong to $G$ ?
