Where each $X_i$ is independent. I know $E(X_i)=2$. So: $$E(Z) = E(2Y_1 + Y_2) = E[2\min(X_1,X_2) + \max(X_1,X_2)] = E\{2(X_1 or X_2) + (X_1 or X_2)\}$$
Since regardless of the outcome of the min and max functions we get the same expected values:
$$2E(X_i) + E(X_i) = 2(2) + 2 = 6$$
Only the book gives the answer as 5.