TeX source:
P(M \prime)=P(h h)+P(t t)=\frac{1}{4}+\frac{1}{4}=\frac{1}{2}