2
A general thing to remember is not to introduce $\omega$ unless you absolutely have to. Just stay with $$ E(Y|X=x)=\sum_y y P(Y=y|X=x). $$ Use $$ P(Y=y|X=x)P(X=x) = {P(Y=y,X=x)}$$ Now remember that $E(Y|X)$ is a function of $X(\omega)$, so $$ E[E(Y|X)] = \sum P(X=x) E(Y|X=x) $$ and you will be ...