If $G$ is a $(p, q)$ planar graph with every face being a $n$-cycle then $$q=\frac{n(p − 2)}{(n − 2)}$$where $q$- #edges, $p$- #points.
I tried using the Euler formula, which states:
$p-q+f=2$, hence, I need to find the number of faces (f) such graph has. I tried saying $f=q/n$ but it doesn't yield the result.