I am following a proof of the statement
The derived set(the set of accumulation points) $A'$ of an arbitrary subset $A$ of $\mathbb{R}^2$ is closed.
in a book.
It starts with
Let $q$ be a limit point of $A'$. If it is proved that q $\in A'$, then the proof is done.
Let $G_q$ be the open set containing $q$. Since $q$ is a limit point of $A'$,$G_q$ contains at least one point $r\in A'$ different from $q$. But $G_q$ is an open set containing $r\in A'$; (Up to this I understood) hence $G_q$ contains infinitely many points of $A$ (How? I did not get this.)
So there exist $a \in A$ such that $a \neq q,a \neq r$ and $a \in G_q$. That is,each open set containing $q$ contains infinitely many points of $A$. Hence $q \in A'$.
Can you help me out.