example : Toss a coin twice and suppose that $\mathbb P$ is probability measure, and also suppose$\mathbb P(HH)=p^2\qquad \mathbb P(HT)=\mathbb P(TH)=p(1-p)\qquad \mathbb P(TT)=(1-p)^2$, answer the following question:
1.Define $Y$ to be the number of heads in the example.Derive the $\sigma$-field generated by $Y$.
2.Find the expectation of random variable $Y$ from the previous exercise, and also the conditional expectation of $Y$ given $\mathcal F_{1}$ s.t $\mathcal F_{1}=\{\varnothing,\{HH,HT\},\{TH,TT\},\Omega\}$.Check that in this case $E[E[Y|\mathcal F_{1}]]=E[Y]$.
my answer : the smaple space is $\Omega=\{HH,HT,TH,TT\}$ I think the answer of 1 is $Y=\{\{TT\},\{HT,TH\},\{HH\}\}$, the $\sigma$-field generated by $Y$ is $\mathcal F(Y)=\{\varnothing,\{TT\},\{HH,HT,TH\},\{HT,TH\},\{HH,TT\},\{HH\},\{HT,TH,TT\},\Omega\}$
and for question 2 I could only get $E(Y)=2P$