how can I solve simple problems involving probabilities of an event?