2. This is a conditional expectation. You want to find $E[S|A=a]$. This is saying that you want to find the expected number of couples with both partners alive given that $a$ people are alive. So this expectation depends on $a$ (e.g. a function of $a$).