During my research on Cheeger constant, I've noticed that there are many formulas to represent this constant like: $$ h = \min\frac{|E(X,\bar{X})|}{\min (vol(X),vol(\bar{X}))} $$ or $$ h= \min \frac{|\partial X|}{|X|} $$ where $|\partial X|$ represent the number of edges between the boundary of $X$ and the boundary of $\bar{X}$. In addition to other formulas.
Now, I am interested in the formula presented here to represent the Cheeger constant. It is mentioned that $$ h = \inf \frac{|\partial S|}{|S|} $$ where $|\partial S|$ is the number of edges having precisely one endpoint in the set $S$ and the other endpoint in $\bar{S}$ and for sure this the same definition of $|\partial X|$ in the previous formula.
My Question
In bounding the Cheeger constant in the 2nd page of the same article, the author bounded $|\partial S|$ in the following way:
$$ |\partial S_1|\geq \frac{2|S_1||S_2|}{2(k-1)} $$ which is the number of paths of length 2 between any two vertices in $S_1$ and $S_2$ divided by the number of paths of length 2 in which a given edge can reside.
What I don't understand
Logically, what is the relation between $|\partial S_1|$ and this fraction (the number of paths of length 2 between any two vertices in $S_1$ and $S_2$ divided by the number of paths of length 2 in which a given edge can reside) i.e on what basis he represented the number of edges between two bipartite sets by the number of paths between those sets or how he replaced the edges by the paths!!