.
P(A or B) = P(A) + P(B) - P(A and B).
Is is standard general formula of the Probability theory.
Answered, explained and completed.
---------------
Thanks to tutor @greenestamps for noticing my typo . . .
I just fixed it, and now you see the corrected version.