The number $N$ of cars sold has a poisson distribution with parameter $m$. Let $T=X_1 + X_2 +\cdots+ X_N$, where $X$ represents the size of the claim with a $\gamma(\alpha,\beta)$. $X_i$ is independently and identically distributed and independent of $N$.
Derive the MGF of $T$.
The $\operatorname{MGF}_T(e^{tT})$ is simply, $\operatorname{MGF}_{X_1 + X_2 +\cdots+ X_N}(e^{t(X_1 + X_2 +\cdots+ X_N)})$
Where the MGF summation/product rule can be used. But we have a random component N in here. How does this affect the whole process?
If $S = X_1 + \ldots + X_n$ where $X_1, \ldots, X_n$ are independent, then $MGF_S(t) = \prod_{i=1}^n MGF_{X_i} (t)$.
This follows from $E[f(X)g(Y)] = E[f(X)]E[g(Y)]$ for $X,Y$ independent and $f,g$ arbitrary functions and $e^{a+b} = e^a e^b$.
For $S=X_1 + \ldots + X_N$ where $N$ is random, note that $E[e^{St}\mid N=n] = \prod_{i=1}^n MGF_{X_i} (t)$, so $MGF_S(t) = \sum_{n=1}^\infty E[e^{St}\mid N=n] P(N=n)= \sum_{n=1}^\infty \prod_{i=1}^n MGF_{X_i} (t) P(N=n)$. When they are i.i.d., this is simply $\sum_{n=1}^\infty (MGF_{X_1}(t))^n P(N=n)$.