Probability Independence with two dice 

*

*Two dice, one red and one green, are rolled. Define the events A: the red die lands on a 3, 4, or 5
B: the sum of the two dice is 9
(a) Compute P(A | B).
(b) Compute P(B | A).
(c) Are A and B independent events? Justify your answer.


So I'm kinda stuck. I have:
P(A)=3/6=1/2
P(B)=(6-|7-9|)/36=1/9
Though, I  can't remember how to calculate P(A|B) and P(B|A), I know there's the Bayes theoreom, but I don't know P(B|A) so I can't calculate P(A|B).
A: You also need to find the probability of the intersection event $\operatorname{P}(A\cap B)$. Note that in this exercise $A\cap B=\{\text{the red die rolls 3 or 4 or 5 AND the sum on the two dice is 9}\}$, and so its probability is …
Then you can use the formula for (which, in fact, is the definition of) conditional probabilities: $\operatorname{P}(A\mid B)=\frac{\operatorname{P}(A\cap B)}{\operatorname{P}(B)}$.
To determine whether the two events are independent, use the fact that two events $A$ and $B$ with nonzero probabilities are independent if and only if $\operatorname{P}(A\cap B)=\operatorname{P}(A)\cdot\operatorname{P}(B)$.
A: The sum of the dice can be 9 only when the red die shows 3, 4, 5, or 6.
When the red die does show one of these faces, there is only one face for each that the green die may show to make the sum 9.
