Let $G$ be a group with finitely many subgroups. For each $x\in G$ we define $G_x:=\langle x\rangle:=\{x^n:n\in\mathbb{Z}\}$. Is clear that
$$
G=\bigcup_{x\in G}G_x
$$
Suppose that $|G_x|=\aleph_0$ for some $x\in G$, then we can conclude that $G_x\cong\mathbb{Z}$ and this implies that $G_x$ has infinitely many subgroups in contradiction with the initial hypotesis. Then for any $x\in G$, $G_x$ must be finite. Now, exists $\{x_1,x_2,\dots, x_n\}$ such that
$$\bigcup_{x\in G} G_x=\bigcup_{1\leq k\leq n}G_{x_k}$$
Because $G$ has only finitely many subgroups, so $G$ is finite.
Is my proof right?