The following problem can be found at the following URL: Some problems related to digital logic
It is problem number 26 on the webpage.
Problem:
Simplify the following expression using Boolean Algebra:
$$ (X + Z)(\overline X + Y)(Z + Y) $$
Answer:
\begin{align*}
(X + Z)(\overline X + Y)(Z + Y) &= ( 0 + Z \overline X + XY + ZY )(Z + Y) \\
(X + Z)(\overline X + Y)(Z + Y) &= ( Z \overline X + XY + ZY )(Z + Y) \\
(X + Z)(\overline X + Y)(Z + Y) &=
Z( Z \overline X + XY + ZY ) + Y( Z \overline X + XY + ZY ) \\
(X + Z)(\overline X + Y)(Z + Y) &=
Z \overline X + XYZ + ZY + Y( Z \overline X + XY + ZY ) \\
%
(X + Z)(\overline X + Y)(Z + Y) &= Z \overline X + XYZ + ZY + YZ \overline X + XY + ZY \\
(X + Z)(\overline X + Y)(Z + Y) &= Z \overline X + XYZ + ZY + XY + ZY \\
(X + Z)(\overline X + Y)(Z + Y) &= Z \overline X + ZY + XY \\
(X + Z)(\overline X + Y)(Z + Y) &= Z \overline X + YZ + XY \\
\end{align*}
However, the author of the problem has the following answer:
$$ XY + \overline X Z $$
Where did I go wrong?