Here is a method that applies when we are considering bounded linear maps between (possibly infinite-dimensional) Banach spaces. In this context, since the space $X$ may be infinite-dimensional, we cannot apply the rank-nullity theorem.
If $\dim\ker(F) = \infty$, then there is nothing to show, so suppose that $\dim\ker(F) < \infty$. Since $\ker(F) \subset \ker (G\circ F)$, and $\ker(G\circ F)$ is a closed subspace of the Banach space $X$ (hence a Banach space in its own right), there is a closed complement $C$ for $\ker(F)$ in $\ker(G\circ F)$, i.e., a closed subspace $C$ of $\ker(G\circ F)$ such that
$$
\ker(G\circ F) = \ker (F)\oplus C.
$$
Now, $F|_C\colon C\to \ker(G)$ is a vector space isomorphism onto its image $F(C)$, so $\dim (C) = \dim F(C) \le \dim \ker (G)$ (where the inequality holds as an inequality of extended real numbers). Hence we have
$$
\dim\ker (G\circ F) = \dim \ker(F) +\dim(C)\le \dim \ker (F) + \dim \ker (G),
$$
as desired.