joint probability example problems