The logic circuit simplifies to the common input fed into both AND gates, due to the property $A \cdot X + A \cdot \overline{X} = A(X + \overline{X}) = A$. If this common input is $\overline{X}$, then the output is $\overline{X}$.