[guided]Why does the substitution $T_i \mapsto T_i + c_i T_m$ isolate the leading coefficient as $F(c_1, \ldots, c_{m-1}, 1)$? Write $f = F + (\text{terms of degree} < r)$. Under the substitution $T_i \mapsto c_i T_m$ for $1 \leq i \leq m-1$ and $T_m \mapsto T_m$, the degree-$r$ homogeneous part $F$ contributes $F(c_1 T_m, \ldots, c_{m-1} T_m, T_m) = T_m^r F(c_1, \ldots, c_{m-1}, 1)$ by homogeneity of degree $r$. Every other monomial in $f$ has total degree strictly less than $r$, so under this specialisation it contributes a term of degree strictly less than $r$ in $T_m$. Hence the coefficient of $T_m^r$ is $F(c_1, \ldots, c_{m-1}, 1)$.
Note that if we keep $T_1, \ldots, T_{m-1}$ as variables (not specialised to $0$), additional contributions to the $T_m^r$ coefficient could come from mixed terms. But the key observation is that $F(c_1, \ldots, c_{m-1}, 1)$ is the coefficient of the pure power $T_m^r$ when all other $T_i$ are set to zero, and this equals the leading coefficient of $g$ viewed as a polynomial in $T_m$ alone. To be precise: the coefficient of $T_m^r$ in $g \in k[T_1, \ldots, T_{m-1}][T_m]$ is a polynomial in $T_1, \ldots, T_{m-1}$, and its constant term is $F(c_1, \ldots, c_{m-1}, 1)$. In fact, since the only degree-$r$ monomial in $g$ that is a pure power of $T_m$ comes from $F$, the leading coefficient of $g$ as a polynomial in $T_m$ (with coefficients in $k[T_1, \ldots, T_{m-1}]$) has constant term $F(c_1, \ldots, c_{m-1}, 1)$. After the substitution $T_i \mapsto y_i - c_i y_m$, this will make $y_m$ integral over the subalgebra generated by $y_1 - c_1 y_m, \ldots, y_{m-1} - c_{m-1} y_m$.[/guided]