probability with compound events independent and dependent practice