expression for the FT of the frequency response of a system
Try writing your equation (2) as $Y(e^{j\omega})=W(e^{j(\omega + \pi)})=X(e^{j\omega})H_1(e^{j(\omega + \pi)})$, and now try solving for $H(e^{j\omega})$. Remember that phase shifting by $\pi$ and $-\pi$ gives the same result.