Note that I1 and I2 are the currents through M1 resp. M2 - and NOT the current sources in part b) of the figure.
More that that, notice the definition of Vout: It is the difference between both drain voltages.
Although the answer to your question is pretty clear and can be derived from the shown figure 4.41, the relevant figures 4.42a and 4.42b (apparently showing the summation of both diff-pair outputs) are missing in your post. That makes me wonder if you actually read the text?