yep then i get that the original equation its what to do after, am i expecting an answer in terms of p and q? so i understand that the part E(XY|X=0) = 0 (!) and that E(XY|X=1) = 1*E(Y|X=1)
so does that mean I am left with E(XY)=E(Y|X=1) ?? its from here i am stuck, sorry if I am completely...