Consider a simple undirected connected grah $G(V, E)$ having $F$ faces and $C = 1$ components
Every Edge in graph increase the $deg(f_i) $ by $2$ by this we can say that if a graph have $|E|$ no of edges then sum of degree of all faces will be $2|E|$,
$$\sum deg(f_i) = 2|E|$$
A conected planner graph have at least $|V| >= 3$, and a cycle creates a face of degree 3
By handshaking theorem, the sum of all minimum degree $<= 2|E|$, similarily
$$\sum \delta (deg(f_i)) <= 2|E|$$
$$3|F| <= 2|E|$$
$$|F| <= \frac{2|E|}{3}$$
add $|V|$ both side
$$|V| + |F| <= \frac{2|E|}{3} + |V|$$
Eular Formula
$$|V| + |F| = |E| + |C| + 1$$
for connected graph $|C| = 1 $
$$|V| + |F| = |E| + 2$$
Put the value of $|V| + |F|$ in Eular formula,
$$2 + |E| <= \frac{2|E|}{|3|} + |V|$$
$$ |E| <= 3|V| - 6$$
The Above inequality is for the planner graph having tringles, but what if graph have no trinagles ? then $deg(f_i) \neq 3$ but $>= 4$
a graph min 3 vertices that have no trainlges have 2 edges creates degree 4 for 1 and only outer face.
so the $\delta (deg(f_i)) >= 4$ and,
$$ \sum \delta (deg(f_i)) <= 2|E| $$
$$4|F| <= 2|E|$$
$$$|F| <= \frac{2|E|}{4}$$
similar to above above derivation
$$|E| <= 2|V| - 4$$