Random variables $X_1, X_2, X_3$ are independent and $P(X_i=1)=P(X_i=-1)=\frac{1}{2}$ for $i=1,2,3$.
Compute:
$E[X_1 \mid X_1 + X_2 + X_3]$
$E[X_1 X_2 \mid X_1 + X_2 X_3]$
My answer to question 1 is $E[X_1 \mid X_1 + X_2 + X_3] = \dfrac{X_1+X_2+X_3}{3}$.
What about second question. Any idea?
Since the $X_i$s are discrete with dichotomous support, it is actually very easy to write out all of the elementary outcomes and tabulate the expectation. Let $\boldsymbol X = (X_1, X_2, X_3) \in \{-1,1\}^3$, and compute for each triplet the values $$g(\boldsymbol X) = X_1 X_2,$$ and $$h(\boldsymbol X) = X_1 + X_2 X_3.$$ Then since each elementary outcome has equal probability, the expectation of $g$ given $h$ is simply the arithmetic mean of $g$ calculated over those triplets yielding a given $h$. For instance, there are two outcomes that give $h(\boldsymbol X) = 2$: $\boldsymbol X \in \{(1,-1,-1), (1,1,1)\}$. Then $g$ for these triplets are $-1$ and $1$, hence $$\operatorname{E}[g(\boldsymbol X) \mid h(\boldsymbol X) = 2] = 0.$$ Do it for the rest of the possible outcomes of $h(\boldsymbol X)$ and you're done.