If A and B are two events associated with a random experiment such that P(A∪B)=0.8,P(A∩B)=0.3 and P(¯¯¯¯A)=0.5, find P(B).