The tree diagram of the problem above is attached
There are four outcomes of the two events,
First test - Cancer, Second Test - Cancer, the probability is 0.0396
First test - Cancer, Second Test - No Cancer, the probability is 0.0004
First test - No Cancer, Second Test - There is cancer, the probability is 0.0096
First test - No cancer, Second Test - No cancer, the probability is 0.9054
The probability of someone picked at random has cancer given that test result indicates cancer is [tex] \frac{0.0396}{0.0396+0.0096}= \frac{33}{41} [/tex]
The probability of someone picked at random has cancer given that test result indicates no cancer is [tex] \frac{0.0396}{0.0004+0.9504} = \frac{99}{2377} [/tex]