As charco said, in most cases you will assume that the first step is in equilibrium and [Y2] = K1[Y]2, where K1 is the equilibrium constant for reaction 1.
To find the concentrations without making any assumptions is a much trickier task. First you have to set up a system of coupled, non-linear differential equations, each corresponding to the rate of change of each chemical species involved in the reaction. Then, you have to solve this system of equations (a very non-trivial task). Since analytical solutions do not exist for most non-linear differential equations, usually you'll have to use some numerical methods to model the evolution of the system.