Roll both dice, observe the sum of the faces showing, then flip the coin the number of times given by the sum. find the expected value and variance of the number of heads obtained.