Equation 1.31 in Quantum Computation and Quantum Information a textbook by Isaac Chuang and Michael Nielsen is as follows,
$\left|\psi_2 \right> = \frac{1}{2}[\alpha(\left|0 \right>+\left|1 \right>)(\left|00\right>+\left|11\right>) + \beta(\left|0 \right>-\left|1 \right>)(\left|10\right>+\left|01\right>)]$
The book claims that after rearranging terms we obtain equation 1.32 as follows
$\left|\psi_2\right>=\frac{1}{2}[\left|00\right>(\alpha\left|0\right>+\beta\left|1\right>)+\left|01\right>(\alpha\left|1\right>+\beta\left|0\right>)+\left|10\right>(\alpha\left|0\right>-\beta\left|1\right>)+\left|11\right>(\alpha\left|1\right>-\beta\left|0\right>)]$
I don't know how to derive the second equation from the first. Can someone explain the steps please ?