Dependent events
A and B are dependent events. This means that the outcome of B affects the outcome of A.
We have that "the probability that A occurs given that B occurs" is symbolized by
P(A|B)
This is what we want to find.
We have that:
P(A): probability that event A occurs.
P(A) = 1/4
P(B): probability that event B occurs.
P(B) = 8/9
P(A&B): probability that both events A and B occurs.
P(A&B) = 1/5
We have that:

Replacing in the equation:

Since,

Then

Answer: 9/40