I got this 2 question that I have being trying to solve for hours but can't seem to figure out.

1- P(A)= 0.71 ; P(B|A)= 0.17 ; P(B|not A)= 0.59 ; P(B)= ?

2- P(B)= 0.27 ; P(A|B)= 0.84 : P(A|not B)= 0.14 ; P(B|A)= ?

Also can explain how to get P(A|not B) and P(B|not A) for future reference?

thank you very much