Compute conditional densities and conditional expectations, then apply total probability, total expectation, and total variance.