Let A be the event "the student passes the first examination" and B the event "the student passes the second examination". Then
P(A)=0.8,P(B)=0.7
"Passing at least one of them" is A∪B, so P(A∪B)=0.95. "Passing both" is A∩B.
By the addition rule,
P(A∪B)=P(A)+P(B)−P(A∩B)
0.95=0.8+0.7−P(A∩B)
Add P(A∩B) to both sides and subtract 0.95 from both sides:
P(A∩B)=0.8+0.7−0.95=0.55
So, the probability of passing both examinations is 0.55.