Let $S$ be a set and, given $x\in S$, let there be given a nonempty collection $\mathcal N(x)$ of subsets of $S$ such that:
1) $x\in N$ for all $N\in\mathcal N(x)$
2) If $N,M\in\mathcal N(x)$, then there is a $P\in\mathcal N(x)$ such that $P\subset N\cap M$.
We are to show that these conditions induce a topology on $S$ turning each $\mathcal N(x)$ into a neighborhood basis at $x$.
First of all, we should have that each $N\in\mathcal N(x)$ is a neighborhood of $x$ and second that each neighborhood $A$ should have an element $N\in\mathcal N(x)$ such that $N\subset A$.
The obvious choice to try is to take $\tau=\bigcup_{x\in S}\mathcal N(x)$. However with this definition I'm rather clueless as to how to start verifying the properties listed above; for instance for the former we would have to have that an open set containing $x$ is a neighborhood of $x$.