this is the addition rule


this is the multiplication rule

if A and B are mutually exclusive

if A and B are independent