picture from Wikipedia page about projectile motion, under air resistance section
Wikipedia: Projectile motion - Derivation of the time of flight:
$$c_1t+c_2+c_3e^{c_4t}=0$$
I understand how the equation for $y(t)$ is of the form that they describe. From my understanding, $W(te^t) = t$, so we want the expression in front of the $e$ to be the same as the power in order to solve for $t$. However, I am not sure how they actually transformed the expression for $y(t)$ into one that can be solved by the Lambert W function. What algebraic steps were taken?