Let $K$ be a field of characteristic $0$. Let $\alpha,\beta,\gamma \in K[X]$. We write $\alpha(X) = \sum_{i=0}^{n_\alpha} a_i X^i$, $\beta(X) = \sum_{i=0}^{n_\beta} b_i X^i$, $\gamma(X) = \sum_{i=0}^{n_\gamma} g_i X^i$. We impose $b_0 = g_0 = 0$. Let us denote by $(X)$ the set of all polynomials with zero constant term.
We define the following binary composition operation on $K[X]$, denoted by $\circ$.
$$ \circ : K[X] \times (X) \to K[X], (\alpha,\beta) \mapsto \sum_{i=0}^{n_\alpha} a_i \beta(X)^i $$
I would like to show that this operation is associative, i.e. that $\alpha \circ (\beta \circ \gamma) = (\alpha \circ \beta) \circ \gamma$.
I tried doing this by comparing coefficients but this rapidly becomes too unwieldy. I also tried solving it by recursion on the degrees of the polynomial involved, but couldn't make it work.