joint probability examples with solutions