PLEASE HELP, PLEASE I AM DESPERATE!!

If P(A) = 0.4, P(A and B) = 0.2, and P(A or B) = 0.5, what is P(B)?

P(A or B) = P(A) + P(B) - P(A and B)

fill in the given data and solve for P(B)