Hi,
I will try my best to explain.
We know that the first test is positive and that we are looking for the chances of the second test also being positive, but we do not know if cancer is present or not.
So we need to consider both options available:
Probabilities between independent (due to C being "known") events P(A and B) = P(A) * P(B):
What are the chances of T2 = +, given T1 = + and with cancer -> P(+2 | +1, C) * P(C|+1) -> P(+2|C) * P (C|+1)
What are the chances of T2 = +, given T1 = + and without cancer -> P(+2 | +1, notC) * P(notC|+1) -> P(+2|notC) * P (notC|+1)
Since these two options are mutually exclusive, P(A or B) -> P(A) + P(B), you just add them together.
I hope this was correct and that it helped :)
-Anders