Let $\Omega=[0,1]$ with Lebesgue measure and let $X(\omega)=\omega$. Find $\mathbb{E}(X \mid \mathcal{G})$ if (a) $\mathcal{G}=\left\{\left[0, \frac{1}{2}\right],\left(\frac{1}{2}, 1\right],[0,1], \varnothing\right\}$, (b) $\mathcal{G}$ is generated by the family of sets $\left\{B \subset\left[0, \frac{1}{2}\right]\right.$, Borel $\}$